-
-
Notifications
You must be signed in to change notification settings - Fork 474
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
Xcode 16 & iOS 18 Build Crash #892
Comments
Dears, What I did is add the workaround on https://stackoverflow.com/a/78633109 into scripts/ios/helper.js into the applyPodsPostInstall function. The new code added:
The resulting function:
Hope it helps. |
How can we add this? |
Same here - tried adding it to the helper.js as @xavierserrai recommended and even directly to the Podfile, and neither worked for me. Any other suggestions greatly welcome |
I just modified the sh file directly in vscode and it worked. |
Sorry - which sh file was that? |
src-cordova/plugins/cordova-plugin-firebasex/scripts/ios/helper.js |
thank you so much. Works for me. |
As far as I can see the problem occurs becuase of this issue, in BoringSSL-GRPC grpc/grpc#36904. Cordova-plugin-firebasex 16.5.0, is adding a pod called FirebaseCore 10.24.0, which requires BoringSSL-GRPC 0.0.24, but the new version of FirebaseCore 11.2.0, should require the new 0.0.36. I think this would be the correct solution instead of this wired workaround. |
Can you propose a PR with an increase in versions to correct the problem? |
Just override the pinned default version using the plugin variable:
|
Hello, i would like to report that pinning a specific version does not work, as FirebaseInAppMessaging is only available as beta and pod installation fails as the spec cannot be found. Adding the beta tag manually to the Podfile entry lets the installation continue, but GoogleTagManager and GoogleSignIn version also need to be increased. After that pod installation completes, but the build step fails as i assume some methods have changed signatures and/or module. |
I can confirm this.
After that there were some changes in code,
After that, I was able to build the app, but my app doesn't use Google SignIn so I couldn't test that part. https://developers.google.com/identity/sign-in/ios/quick-migration-guide |
I'd create a PR, but I'm not sure if there are changes that are not so obvious. |
Thank you @dpa99c
With such installation I have this error.
I found that there is Meanwhile this is successful version for
Therefore, this config must works:
But we must add And then I have success pod installation, but on XCODE, I got errors with google |
This should now be fixed in v17.0.0 of the plugin which I've just released: I've regression tested it using the example project with XCode v16 / iOS v18 / macOS v15 P.S. If you have pinned component versions in your |
I've just tried it with new version. This happens whatever version I put in |
Have you try to set deployment-target = 13 ? |
Check the deployment target in Podfile and Xcode: it needs to be For comparison, here's the console log from a successful build of the example project using XCode 16, |
Thank you @dpa99c "IOS_FIREBASE_SDK_VERSION": "11.2.0",
"IOS_FIREBASE_IN_APP_MESSAGING_VERSION": "11.2.0-beta",
"IOS_GOOGLE_SIGIN_VERSION": "7.0.0",
"IOS_GOOGLE_TAG_MANAGER_VERSION": "8.0.0", and config.xml <platform name="ios">
<preference name="deployment-target" value="13.0" />
</platform> Build succeeds! 🎉 And for Android builds. Could you please check that build succeed at example project? Right now I got this:
|
Sorry, forgot to push the commit to the example project which sets API 34 as the build SDK: I've pushed it now so try pulling and rebuilding. Android build Gradle 8.4 / |
@dpa99c Thank you again. I think it's completely resolved. |
OK, closing as resolved but can be re-opened if necessary |
If you're using this in bare react native, put this update in your Podfile. |
Bug report
CHECKLIST
I have read the issue reporting guidelines
I confirm this is a suspected bug or issue that will affect other users
Current behavior:
When attempting to build a project using this plugin with Xcode 16 beta, the build will crash with the following error:
This is a known issue which comes from a dependency that Firebase uses. This issue had been reported and fixed.
Firebase was also aware of the issue and updated their library which should have resolved this issue.
Below are the following tickets surrounding the issue.
-G
unsupported firebase/firebase-ios-sdk#13115Expected behavior:
Build should be successful.
Steps to reproduce:
Add current plugin to any project and try to build with Xcode 16 beta
Screenshots
Environment information
Runtime issue
iOS build issue:
Other information:
There is a SO post that talked about the issue and included a workaround solution when there was no fix:
But looking at the Firebase library spec, I beleive the issue has been resolved in version 11.0.0. (Current version is 11.1.0)
The above linked issue tickets says:
Looking at the podspec of
[email protected]
it says gRPC-Core version is~> 1.65.0
. I believe this will pull in the fixed version.The text was updated successfully, but these errors were encountered: