-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated GoogleUtilities failing in azure pipeline for ios platform #6047
Comments
I have same issue [REQUIRED] Step 1: Describe your environment Xcode version: Version 11.5 (11E608c) [REQUIRED] Step 2: Describe the problem We have integrated Firebase SDK in our iOS app. We are getting build failed error in file GULAppDelegateSwizzler.h on line #import "GoogleUtilities/AppDelegateSwizzler/Private/GULApplication.h" with description 'GoogleUtilities/AppDelegateSwizzler/Private/GULApplication.h' file not found |
Our builds also started failing this morning because of this issue with the latest version of the pods. |
Our builds have been failing since yesterday due to GoogleUtilities 6.7.0. I can confirm they succeed with v6.6.0. If it helps, I was able to get our app to build successfully by reverting line 19 of |
any idea on how to achieve the same in azure pipeline? |
This was just me fiddling around on my local machine trying to diagnose the build. If I wanted to hack it into our actual CI process, I'd write a script to patch/replace that file after installing the pods but before building. |
You can fork repo, change GULAppDelegateSwizzler.h and use pod created from forked repo. |
Hey everyone - sorry for the issues. That being said, we're going to discuss this within the team to find out how we can best resolve and hopefully restore functionality for those broken projects or provide patches or workarounds for it. |
From comments on the PR that changed things...
Facebook SDK for Unity is broken by this change: |
@ryanwilson nativescript-plugin-firebase is affected as well |
@vstanyshevskyy thanks for letting us know. If anybody else has projects affected please let us know. On that note... it may sound silly but if someone has a quick set of repro steps for an affected project it'd save some time for us trying to get up and running with a project we're unfamiliar with in order to see what solutions will work or what workarounds we can suggest. |
@bhargavas12, @Vlad-S-Appyfurious, @jfperusse-bhvr and @JustinPierce - is your project using React Native, another dependency that's affected, or is it a plain ObjC or Swift project? Are you directly using the |
@ryanwilson my project uses NativeScript which has the same idea as React Native. I'm using nativescript-plugin-firebase which installs Firebase pods https://github.com/EddyVerbruggen/nativescript-plugin-firebase/blob/master/publish/scripts/installer.js#L359. |
@ryanwilson Our project is built with Unity and includes both the Firebase and Facebook SDKs which seem to be affected by the issue. I don't think we are using React Native unless that is a dependency of one of those third party plugins, but the iOS codebase includes both ObjC and Swift. The GULAppDelegateSwizzler.h is only used by those third party plugins. For Unity users, a workaround we've found is to add a Dependencies.xml editor file with the following content: <?xml version="1.0" encoding="utf-8"?>
<dependencies>
<iosPods>
<iosPod name="GoogleUtilities" version="6.6.0" />
</iosPods>
</dependencies> |
@ryanwilson Our project is a Cordova app. The reference is coming in via Here's a snippet from our CI build log at the point of failure:
|
@ryanwilson even ours is cordova project and we are using firebaseX which has the internal dependency to GoogleUtilities. |
@ryanwilson It looks like FirebaseX was patched this morning to resolve the issue. I believe the issue is that the plugin was asking for v6.27.0 of the Firebase libraries, but those libraries ask for the latest 6.x version of GoogleUtilities. It would appear that versions of FirebaseAuth before 6.28.0 will fail to build with [email protected]. That matches up with my build failure above. |
We're working to get a fix ASAP to this issue. A shareable repro case would be helpful to validate. We're able to successfully build samples with Firebase 6.27.x and GoogleUtilities 6.7.0. In the meantime, adding the following to the Podfile is a reported workaround:
Does |
@paulb777 Can confirm that this did not help. |
@alejobrainz I noticed in the other thread you said that the Facebook for Unity SDK had issues as well - can you point me to those? I couldn't find any usages of GoogleUtilities or |
We now have a repro case. Investigating a fix. Stay tuned. |
I understand you have a repro, just in case it comes up again you can always roll out a throwaway react-native-firebase "full demo" with https://github.com/mikehardy/rnfbdemo/blob/master/make-demo-v6.sh |
@ryanwilson to add to the list, and if it's helpful; FlutterFire has also started failing to build with the same error, though we don't consume CI run with failure: https://github.com/FirebaseExtended/flutterfire/pull/2962/checks?check_run_id=873969590 |
Thanks for the reports, sorry about the breakage, and let us know if there are any issues with this fix. 🎉 Congrats 🚀 GoogleUtilities (6.7.1) successfully published
|
@ryanwilson Here you go. We were using the Firebase SDK and hell broke loose yesterday. We had to manually add 6.6.0 in our pod file to work around it. https://forum.unity.com/threads/ucb-firebase-package-paths-not-found.931566/ |
Hi,
Azure build-pipeline is failing after the recent update of 'GoogleUtilities' version to 6.7.0.
Below is the error message that we got:
Users/runner/work/1/s/platforms/ios/Pods/GoogleUtilities/GoogleUtilities/AppDelegateSwizzler/Private/GULAppDelegateSwizzler.h:19:9: note: did not find header 'AppDelegateSwizzler/Private/GULApplication.h' in framework
'GoogleUtilities' (loaded from '/Users/runner/work/1/s/platforms/ios/build/emulator')
https://firebase.google.com/support/release-notes/ios
The text was updated successfully, but these errors were encountered: