Install library
- Open a command line.
- Change to your project directory and run the command:
Copy
$ pod init
- The
Podfile
configuration file will be created in the project directory.
- Add the following line to the
Podfile
:
Copy
pod "XsollaSDKInventoryKit"
Note
To include all libraries for iOS at once, add the
pod “XsollaSDK”
line to the Podfile
.- At the command line, run the command:
Copy
$ 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.- Add the following line to the project’s Swift files where you plan to use SDK methods.
Copy
import XsollaSDKInventoryKit
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Found a typo or other text error? Select the text and press Ctrl+Enter.