Install library

  1. Open a command line.
  2. Change to your project directory and run the command:
Copy
Full screen
Small screen
    $ pod init
    

    1. 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 "XsollaSDKInventoryKit"
      
      Note
      To include all libraries for iOS at once, add the pod “XsollaSDK” line to the Podfile.
      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 XsollaSDKInventoryKit
          
          Your progress
          Thank you for your feedback!
          Last updated: January 22, 2024

          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!