paypal / paypal-here-sdk-ios-distribution

Add credit card (tap, insert, swipe & key-in) capabilities to your iOS app
Other
81 stars 91 forks source link

Building for iOS, but the linked and embedded framework 'PPRetailInstrumentInterface.framework' was built for iOS Simulator. #333

Open maulikpat opened 4 years ago

maulikpat commented 4 years ago

Hi,

When I tried to run my app in device I am getting below errors image

Any help?

ppmtscory commented 4 years ago

Are you trying to install the frameworks manually or is this after you do a pod install? Using the latest, pod update, are you still seeing the same?

maulikpat commented 4 years ago

@ppmtscory yes I tried to install manually.

ppmtscory commented 4 years ago

Ok, unfortunately the manual installation isn't something that is currently supported and is the reason you are not getting the right frameworks for building with a device instead of simulator. Please use the recommended path of Cocoapods for the installation of the PPH SDK.

maulikpat commented 4 years ago

@ppmtscory ok I will use Cocoapods then. But I didn't get below

The default installation is the Debug build but you can switch to the Release build of the PayPalHereSDK by using the Release subspec - pod 'PayPalHereSDKv2/Release'

What do I need to change in Xcode? I didn't get this as I don't know much about Cocoapods.