GoogleSignIn-GoogleSignIn error

Hi,

I am using plugin cordova-plugin-firebasex and today i got error: UserError: error: Signing for “GoogleSignIn-GoogleSignIn” requires a development team

Two week ago was no probleem with compling. How can i solve this?

Regards

Log:

Create build description
Build description signature: 87b0ac20c8e0984e73deea03b4cfc4c1
Build description path: /Users/vagrant/Library/Developer/Xcode/DerivedData/ZiE_WERK_APP-cvjixcmhjksauvhfnwwjsdjmlxec/Build/Intermediates.noindex/ArchiveIntermediates/ZiE WERK APP/IntermediateBuildFilesPath/XCBuildData/87b0ac20c8e0984e73deea03b4cfc4c1-desc.xcbuild

note: Building targets in dependency order
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'FirebaseCrashlytics' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'FirebaseFunctions' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'GoogleSignIn' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'FirebaseABTesting' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'GTMSessionFetcher' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'FirebaseAnalytics' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'nanopb' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'GoogleSignIn-GoogleSignIn' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: error: Signing for "GoogleSignIn-GoogleSignIn" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'GoogleSignIn-GoogleSignIn' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'FirebaseInstallations' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'GTMAppAuth' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'FirebaseMessaging' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'GoogleAppMeasurement' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'FirebaseFirestore' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'AppAuth' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'GoogleUtilities' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'FirebaseCore' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'PromisesObjC' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'FirebaseAuth' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'FirebaseRemoteConfig' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'FirebaseCoreDiagnostics' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'FirebasePerformance' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'GoogleDataTransport' from project 'Pods')
/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'Firebase' from project 'Pods')
warning: Run script build phase 'Copy www directory' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'ZiE WERK APP' from project 'ZiE WERK APP')
warning: Run script build phase 'Crashlytics' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'ZiE WERK APP' from project 'ZiE WERK APP')
** ARCHIVE FAILED **

Command finished with error code 65: xcodebuild -workspace,ZiE WERK APP.xcworkspace,-scheme,ZiE WERK APP,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,ZiE WERK APP.xcarchive,archive,CONFIGURATION_BUILD_DIR=/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/platforms/ios/build/sharedpch,EMBEDDED_CONTENT_CONTAINS_SWIFT = YES,ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO,LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"
xcodebuild: Command failed with exit code 65
Error: xcodebuild: Command failed with exit code 65
    at ChildProcess.whenDone (/node_modules/cordova-common/src/superspawn.js:136:25)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1093:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)

2022-09-27 10:33:18,828 - error: Signing for "GoogleSignIn-GoogleSignIn" requires a development team
2022-09-27 10:33:18,828 - reset_keychain
2022-09-27 10:33:18,900 - Output: 
2022-09-27 10:33:18,901 - Build failed 524905fb-fccf-4b62-a552-fc3e69d8d249
2022-09-27 10:33:19,873 - Output: Package                      Current      Wanted  Latest  Location                               Depended by
cordova-android               10.1.1      10.1.1  11.0.0  node_modules/cordova-android           524905fb-fccf-4b62-a552-fc3e69d8d249
cordova-plugin-firebasex  14.0.0-cli  14.0.0-cli  14.2.1  node_modules/cordova-plugin-firebasex  524905fb-fccf-4b62-a552-fc3e69d8d249

This appears to be a result of the update to Xcode 14. There’s a bug report for it in the repo for cordova-plugin-firebasex:

Issue #766

Unfortunately, no solution is been provided yet. I have a hunch many other people will have this same issue - google “Signing for “GoogleSignIn-GoogleSignIn” requires a development team” on a regular basis until someone has a solution.

If we have to make a change to VoltBuilder, we’ll be happy to do so.

Hi,
how can with Volt build use older version of Xcode?

Or can you setup this in Xcode 14: Xcode 14 resources bundle "CODE_SI… | Apple Developer Forums
A workaround could be to explicitly specify “CODE_SIGNING_ALLOWED”: “NO” for resource bundle targets’ build settings.

Regards

We’re looking into this now.

We think we have the solution to this - we hope to implement it today. We’ll update this issue when we do.

1 Like

The fix has been implemented and appears to be running smoothly. Would you try it again with your job?

I have just tested and it works! Thank you. Greate service!

Hi,

compiling goes good now but when i try to open the app this one crashes immediately. On android everything works ok.
I am using this in config.xml:

<plugin name="cordova-plugin-firebasex" spec="14.2.1-cli">
        <variable name="IOS_STRIP_DEBUG" value="true" />
        <variable name="FIREBASE_ANALYTICS_COLLECTION_ENABLED" value="false" />
        <variable name="FIREBASE_PERFORMANCE_COLLECTION_ENABLED" value="false" />
        <variable name="FIREBASE_CRASHLYTICS_COLLECTION_ENABLED" value="false" />
    </plugin>

With older version 14.0.0 app get started but no push notification are received from firebase.
Any idea how to solve this?

Thanks

Edit:
Info from iphone log file:

 "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: '@rpath\/libswiftCore.dylib'","Referenced from: '\/Volumes\/VOLUME\/*\/He...'","Reason: tried: '' (no such file), '' (no such file), '' (no such file), '' (no such file)"]},

Next step is to see if there are messages on the Console at runtime.

Use Remote Debugging to do this.

I have tried inspect.dev but there is no message because app does not start at all, only black screen for millisecond and then crash.

see my previous post. Is this not the reason?
Library not loaded: '@rpath\/libswiftCore.dylib

Hi,

did you have time to check this?
I have found on firebasex site that in Xcode cocapods and firebase sdk must be installed:

We’re limited in how much we can do on an issue like this - Firebasex is a large technology developed by Google. We’re not experts on it. If everything is set up properly, VoltBuilder should be able to handle it fine - I know a lot of our customers are using it.

Cocoapods and Firebasex should load automatically. They are dependancies of the Firebasex plugin.

Anyone else using this plugin?

I am also using for longer period and everything was working ok until Volt Build got updated to new Xcode. Is there possibility to use previous version of Xcode with Volt build?

On Android it works without problem.

We’d like to look at the log for this. Can you submit it again, and let me know what email address you submitted under?

I just did it. Email is …

Thanks - we’re having a look at it.

I have also tried with none cli version <plugin name="cordova-plugin-firebasex" spec="14.2.1"> but got error with compiling:
exportArchive: Code signing "AppAuth.framework" failed.

I was able to capture the log from an actual device. I didn’t get learn a lot from it, but I’ll post it here…

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: DYLD 1 Library missing
Library not loaded: @rpath/libswiftCore.dylib
Referenced from: <435CFA65-8B41-33CB-B4BE-4C88C56BC209> /Volumes/VOLUME/*/Healthz Professionals.app/Healthz Professionals
Reason: tried: '/private/var/containers/Bundle/Application/3C0D4997-8963-4BD3-8B56-09807354392D/Healthz Professionals.app/Frameworks/libswiftCore.dylib' (errno=2),
  '/private/var/containers/Bundle/Application/3C0D4997-8963-4BD3-8B56-09807354392D/Healthz Professionals.app/Frameworks/libswiftCore.dylib' (errno=2), 
  '/private/preboot/Cryptexes/OS@rpath/libswiftCore.dylib' (errno=2), 
  '/private/var/containers/Bundle/Application/3C0D4997-8963-4BD3-8B56-09807354392D/Healthz Professionals.app/Frameworks/libswiftCore.dylib' (errno=2), 
  '/private/var/containers/Bundle/Application/3C0D4997-8963-4BD3-8B56-09807354392D/Healthz Professionals.app/Frameworks/libswiftCore.dylib' (errno=2), 
  '/usr/local/lib/libswiftCore.dylib' (errno=2),
  '/usr/lib/libswiftCore.dylib' (errno=2, not in dyld
(terminated at launch; ignore backtrace)

I think that is same error that I already reported: GoogleSignIn-GoogleSignIn error - #10 by pedja

Two questions:
Is it possible to use non cli version of this plugin? So yes, see my post above
Do you have possibility on Volt Built to use older Xcode as temporary workaround? Our customer is waiting al two weeks for a new build…
Thanks

Looking at the logs, I see other users with

<plugin name="cordova-plugin-firebasex" spec="14.2.1">