Reputation: 429
I am using
"cordova-plugin-fcm-with-dependecy-updated": "^2.4.0",
"cordova-plugin-googleplus": "^8.0.0",
I have added IOS platform
"cordova-ios": "^5.0.1",
and when I try to build it in XCode it fails with below error.
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_GSDK_GTMLogger", referenced from:
objc-class-ref in GoogleIPhoneUtilities(GIPReachability.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Note: I have tried everything mentioned in this question. Firebase Undefined symbols for architecture x86_64
Build works if I remove any one of the plugins.
Upvotes: 2
Views: 1231
Reputation: 175
With this version it has worked perfectly.
"cordova-plugin-googleplus": "^7.0.1"
It should also be taken into account that sometimes it is necessary to add REVERSED_CLIENT_ID
Xcode -> info -> URL Types (add this)
Upvotes: 0
Reputation: 429
To anyone wondering, I solved it by downgrading to
`"cordova-plugin-googleplus": "^7.0.1",`
Latest version 8.0.0
is using Pods
to manage dependencies which will be global/project-wide, while 7.0.1 handles dependencies locally i.e only for that plugin. So it won't affect any other plugin(s) using those same dependencies.
Upvotes: 2