-
Notifications
You must be signed in to change notification settings - Fork 46
[Bug] iOS Build failure: '(any StorageProvider)?' must be unwrapped to refer #962
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
Comments
What could cause build failing without any changes in the source code? |
Seems to be a native iOS library that got updated. That's what I understood from the comments on the other SDK issue thread. |
If you're encountering build issues in your Unity project due to a specific version in
cd Library/PackageCache && find . -type f -name "*Dependencies.xml" -path "*com.google.firebase*" | xargs sed -i '' -e 's/10.15.0/10.22.0/g' This command finds |
Thanks for bringing this to our attention, folks. I was able to reproduce the issue using the latest version of the Unity SDK. Another workaround you can do is manually update the iOS SDK version to That said, I'll be bringing this up with the team. You may refer to this thread for updates. |
Are all versions of the SDK affected by this? |
I can confirm SDK |
What worked for us: Add this script to set the iOS SDK to 10.22.0 as suggested:
In our case, we also use Applovin Max for Ad mediation, we also needed to manually bump the Google Ads SDKs to 11.1.0.0, so we changed
respectively. |
Thank you for the great script @shniqq ! In case anybody is using UCB (or any other automatic building scripts) together with iOS Resolver, I suggest changing |
So, not sure what changed that caused this issue to start popping up, I imagine it was a change within XCode. But the latest release, 11.8.0, updates the iOS dependencies to 10.22.0, which will fix this issue. Thanks for offering the scripts in the meantime as a workaround. |
We didn't change Xcode version recently. |
Us neither |
Instead of fixing the actual issue, you make us update the Firebase version? Please fix the old cocoa pods. |
Is there any fix to this other than upgrading the Firebase SDK? I'm having issues with the new version and would need to stay on old version for now. @paulinon |
After some back and forth we figured out the only 2 ways to make our app compile:
None of those are livable as our app relies on both. While discovering it we tried different versions of xCode (15.0.1, 15.1, 15.2, 15.3) and Unity (2022.3.20, 2022.3.22). We also tried removing other plugins with native components (FacebookSDK, AppsFlyer, GoogleSignIn) - no difference. We also tested another app we have that works without Firebase, it's ok. We believe the issue lies in Firebase and hope it will be resolved soon. It affects our business as we can't produce builds and test the upcoming app update. Update 1: tried updating cocoaPods version to 10.23 => results in Undefined symbols errors. |
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
Without changes from our side, we are now getting this build error for iOS:
There seems to be other Firebase SDK affected, so seems like this needs to be fixed within this SDK too.
Steps to reproduce:
Reproduces 100% of the time, we started noticing yesterday. We're using Mac Mini M2 to build. Xcode 15.2.
Relevant Code:
Our podfile:
The text was updated successfully, but these errors were encountered: