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.
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:
Somebody can give me an idea of the problem. Sorry for my english.