1

My unity project with firebase integrated got errors while archiving the Xcode project. I have searched for some issues that may be the same as mine, but with no luck. I have tried to install cocoa pods and success to build the Xcode project with no errors. When I archived the Xcode project, it shows so many Undefined symbols like the picture below enter image description here

Xcode Version: 14.1.
Firebase SDK Version: 10.0.1.
Unity Version: 2021.3.7f1.

2
  • Did you open the xcworkspace file in Xcode? That's the one you need to use, not the xcodeproject file. You may need to change the dependency resolver settings in Unity to generate the cocoa pods project. Commented Nov 2, 2022 at 17:22
  • Yes, I use the Unity-iPhone.xcworkspace to Open the Xcode project. I set the ios resolver setting to default(there is a button called "Reset to Defaults". I am not sure what else I need to change. Commented Nov 2, 2022 at 18:59

1 Answer 1

1

It turns out that the MLKit hasn't supported Firebase 10 yet, so something went wrong. Not sure why my unity didn't show errors. I manually install pod by terminal and got errors. Then I found the same issue as mine here.

https://github.com/firebase/firebase-ios-sdk/issues/10359

The quick answer is to add a version specifier to the Podfile pod 'FirebaseAuth', '>= 9.6.0'

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.