CapacitorGoogleAuth
CapacitorGoogleAuth copied to clipboard
Getting XCode error when trying to build for iOS
Hi there, I get the following error when I try and build my ionic app with this plugin installed for iOS:
ld: in /Users/gvqz/dev/github/mindfully/react-client/ios/App/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(GIDEMMErrorHandler_3a47e13d8ca81b41e9cdb7ef5468004a.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/gvqz/dev/github/mindfully/react-client/ios/App/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Computer: M1 Mac Pro running MacOS 11.2.2 XCode: 12.4 Cocoapods: 1.10.1
I've tried running xCode in rosetta and excluding arm64, but then I get an error that the x86_64 build target is not available.
Any ideas on where to look next?
Looks like the problem in GoogleSignIn pod - related issue and another
Good news you can still build it for Physical Device.
I have the same issue, anyone got a fix yet?
Also encountering this issue, it's keeping our team from using iPhone simulators altogether.