If you wouldnβt like to include the Mobile Buy SDK Project within your existing project, you can link directly to the`Buy.framework`.
2.1. Open the`Mobile Buy SDK.xcodeproj` and build the`Static Universal Framework` scheme
2.2. Drag the`Buy.framework` that was just created from`Mobile Buy SDK Sample Apps` into the`Linked Frameworks and Libraries` section for the target you want to add the framework to. Check Copy items if needed so the framework is copied to your project
2.3. In the`Build Settings` tab, add`-all_load` to`Other Linker Flags`
π¨βπ» Option 3. CocoaPods
Add the following line to your profile:
pod "Mobile-Buy-SDK", '~> 2.2.0β
hen run pod install`
#import "Buy.h"
π You're done!
You have successfully installed Shopify Mobile Buy SDK.
π 3 options how to install Shopify to sell your own game merchandise
π Find the Shopify Mobile Buy SDK in the provided folder, or use CocoaPods
π¨βπ» Option 1. Dynamic Framework Installation
π¨βπ» Option 2. Static Framework Installation
π¨βπ» Option 3. CocoaPods
pod "Mobile-Buy-SDK", '~> 2.2.0β
#import "Buy.h"
π You're done!
βΉ Contact information