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 with xcode 12 #647

Open
serloro opened this issue Sep 25, 2020 · 0 comments
Open

Error with xcode 12 #647

serloro opened this issue Sep 25, 2020 · 0 comments

Comments

@serloro
Copy link

serloro commented Sep 25, 2020

We had a problem with the plugin (it's very weird because it just happen with xcode 12).

One month ago, the project compile correctly (with the instruction -> sudo cordova build ios --pro --release) but since two weeks ago, the project give us an error (only with plugin fcm). We have studied the configuration and its happen only with new version of xcode (version 12, because with version 11 it works). We use cordova-ios 5.1.1 and ios 11.1.1

Error:

__ld: in XXX/Plugins/cordova-plugin-fcm/FirebaseAnalytics.framework/FirebaseAnalytics(FIRAAppEnvironmentUtil_47b121090e30f9c34b7fa04afbb3df0f.o), building for iOS Simulator, but linking in object file built for iOS, file 'XXX/Plugins/cordova-plugin-fcm/FirebaseAnalytics.framework/FirebaseAnalytics' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)_

The following build commands failed:
	Ld /var/root/Library/Developer/Xcode/DerivedData/XXX-byjgocyezvknmodxtqyauzkxoymu/Build/Intermediates.noindex/XXX.build/Release-iphonesimulator/XXX.build/Objects-normal/arm64/Binary/XXX normal arm64
(1 failure)
xcodebuild: Command failed with exit code 65_

Somebody can give me an idea of the problem.
Sorry for my english.

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

1 participant