我正在尝试在我的 iOS 应用程序中实现 Stripe Payment Gateway。这是在 Xcode 8.2 和 10.2 模拟器上。
我的应用程序构建成功。但在构建之后,它说。
dyld: Library not loaded: @rpath/Stripe.framework/Stripe
Referenced from: /Users/user/Library/Developer/CoreSimulator/Devices/D27A4EC3-3B8A-4BBC-AB30-E9313AD95E1E/data/Containers/Bundle/Application/225274C8-EB99-476A-88A3-6F9981948220/Test App.app/Test App
Reason: image not found
这是一些代码
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
registerForPushNotifications(application)
spinnerInitialization();
//STRIPE CONFIGURATION
Stripe.setDefaultPublishableKey("pk_test_YdACg6uENGmWrSWwAy00gWUx")
return true
}
最佳答案
关于ios - dyld : Library not loaded: @rpath/Stripe. 框架/Stripe ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41613019/