Issue
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.
Solution
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.
Answered By - yashpatelyk
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.