Home > database >  Unity Xcode Build fail- Unityframework Error: Undefined symbol
Unity Xcode Build fail- Unityframework Error: Undefined symbol

Time:11-06

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.

CodePudding user response:

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'

  • Related