Shopify / mobile-buy-sdk-ios

Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can connect your app with the Shopify platform and let your users buy your products using Apple Pay or their credit card.
MIT License
453 stars 198 forks source link

Include SDK via CocoaPods without the Passkit Framework? #111

Closed dwnld-mitch closed 8 years ago

dwnld-mitch commented 8 years ago

Apologies if this isn't the correct way to ask this question, but is there any way to use the Mobile BUY SDK cocoapod without linking the Passkit framework? Apple prevents app transfers for any apps built that include this framework, and I don't currently need any of the ApplePay integration.

davidmuzi commented 8 years ago

You'll need to modify the repo to remove the bits you don't need. There is actually a branch for tvOS which strips out Passkit (since its not available on AppleTV) which you can see how its done

https://github.com/Shopify/mobile-buy-sdk-ios/blob/tvOS/Mobile%20Buy%20SDK/Mobile%20Buy%20SDK/Data/BUYClient.m#L43

dwnld-mitch commented 8 years ago

Perfect, thanks!