Install library

  1. Open a command line.
  2. Change to your project directory and run the command:

Copy
Full screen
Small screen
    $ pod init

    The Podfile configuration file will be created in the project directory.

    1. Add the following line to the Podfile:

    Copy
    Full screen
    Small screen
      pod "XsollaSDKLoginKit"

      1. At the command line, run the command:

      Copy
      Full screen
      Small screen
        $ pod install

        Note
        After the installation is complete, a * .xcworkspace file will appear in the directory with the project. To work with the project, you need to open this file, and not the project itself.

        1. Add the following line to the project’s Swift files where you plan to use SDK methods.

        Copy
        Full screen
        Small screen
          import XsollaSDKLoginKit

          Your progress
          Thank you for your feedback!
          Last updated: June 17, 2021

          Found a typo or other text error? Select the text and press Ctrl+Enter.

          Report a problem
          We always review our content. Your feedback helps us improve it.
          Provide an email so we can follow up
          Thank you for your feedback!