Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when run in ios #79

Open
lesterjlester opened this issue Aug 18, 2022 · 2 comments
Open

error when run in ios #79

lesterjlester opened this issue Aug 18, 2022 · 2 comments

Comments

@lesterjlester
Copy link

[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
Copy link

agulab commented May 24, 2023

[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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants