zyra / cordova-plugin-stripe

A Cordova plugin that lets you use Stripe's Native SDKs for Android and iOS.
MIT License
93 stars 57 forks source link

error when run in ios #79

Open lesterjlester opened 2 years ago

lesterjlester commented 2 years ago

[capacitor] ld: in /Users/unknown/Documents/projects/sample/ios/capacitor-cordova-ios-plugins/sources/CordovaPluginStripe/src/ios/Stripe.framework/Stripe(STPAPIClient.o), building for iOS Simulator, but linking in object file built for iOS, for architecture arm64 [capacitor] clang: error: linker command failed with exit code 1 (use -v to see invocation) [capacitor]
[capacitor] BUILD FAILED [capacitor]
[capacitor]
[capacitor] The following build commands failed: [capacitor] CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Capacitor' from project 'Pods') [capacitor] Ld /Users/unknown/Documents/projects/sample/ios/DerivedData/AB6EFF0A-3DF3-4E7A-BDBF-121B52627091/Build/Products/Debug-iphonesimulator/CordovaPlugins/CordovaPlugins.framework/CordovaPlugins normal (in target 'CordovaPlugins' from project 'Pods') [capacitor] (2 failures)

agulab commented 1 year ago

[capacitor] ld: in /Users/unknown/Documents/projects/sample/ios/capacitor-cordova-ios-plugins/sources/CordovaPluginStripe/src/ios/Stripe.framework/Stripe(STPAPIClient.o), building for iOS Simulator, but linking in object file built for iOS, for architecture arm64 [capacitor] clang: error: linker command failed with exit code 1 (use -v to see invocation) [capacitor] [capacitor] BUILD FAILED [capacitor] [capacitor] [capacitor] The following build commands failed: [capacitor] CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Capacitor' from project 'Pods') [capacitor] Ld /Users/unknown/Documents/projects/sample/ios/DerivedData/AB6EFF0A-3DF3-4E7A-BDBF-121B52627091/Build/Products/Debug-iphonesimulator/CordovaPlugins/CordovaPlugins.framework/CordovaPlugins normal (in target 'CordovaPlugins' from project 'Pods') [capacitor] (2 failures)

Hello. Did you solve it somehow? I'm having the same issue. Did you have to migrate to a different plugin? Thanks!

westerly-lzh commented 10 months ago

I have almost the same issue from the Cordova framework in Mac arm64 platform.