Unity Xcode Build fail- Unityframework Error: Undefined symbol - xcode

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
Xcode Version: 14.1.
Firebase SDK Version: 10.0.1.
Unity Version: 2021.3.7f1.

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'

enter image description here
I have changed the pod file, but no results.

Related

'event2/event.h' file not found

I am trying to build a react-native app in iOS but Xcode through this error. I have already added the latest flipper in the podfile. But still getting this error while starting the build.
can someone help me?

Cocoapods Pod Packages Version Checking - Flutter

I just recently updated my MacOS BigSur to 11.6 to accommodate the new iOS 15 release. I also updated my XCode to 13. To make sure my Flutter packages are using the most up to date version, I checked and confirmed that the package/s versions in pubsec.yaml is indeed the newest via pub.dev. I then updated Flutter, reinstalled Cocoapods and ran 'pod repo remove trunk', 'pod repo update' and 'pod update'. I then tried checking whether the pod packages are the most up to date. However, when I try visiting cocoapods.org via browser, I am getting an internal server error. How do I verify that I do have the most recent versions which are in sync with the version showing in pub.dev of Flutter? Is it correct to assume that the pub.dev build version showing for a specific package should be the same when I check the package in Pods of XCode?
FYI. The reason I am asking this is because I am getting a lot of build errors due to pods with deprecation errors. So I wish to rule out any version discrepancies before tshooting further.
Thanks in advance.
I'm not sure about the first problem, but for the problem "a lot of build errors due to pods with deprecation errors" I always use this steps to solve it.... try it might work for you too:
delete: podfile, pods folder, and podfile.lock
cd ios
pod install --repo-update (this will take time)
cd ..
flutter clean
flutter pub get
Thanks Remoo. Unfortunately your recommendation didn't work. What worked is: 1. Deleted my project. 2. Copied original saved copy fresh to MacOS. 3. Ran flutter clean and then flutter packages get and then in ios dir, did pod install. 4. Flutter run and flutter build ios --release were successful. 5. I just ran archive via XCode but still saw a lot of deprecation errors but it went through. Also performed Validate and Distribute. I will see if the app works on my iphone.

No solution on the internet worked for Module 'google_maps_flutter' not found

I am trying to archive my flutter app to publish it to App Store Connect. Then I got this problem and I tried every single solution on the internet but nothing seem to work so I need help.
Here is the problem:
This will install all dependencies for iOS.
cd ios
pod install
You must see an output similar to this:
Analyzing dependencies
Downloading dependencies
Installing FMDB (2.7.5)
Installing Flutter (1.0.0)
Installing GoogleMaps (4.2.0)
If Xcode is opened when running pod install, you'll be prompted to either Keep Xcode Version or to Read From Disk.
Choose: Read From Disk.
Have you fulfilled all the requirements related with the app-delegate.. in the IOS section?
Because the problem seems to be connecting google maps flutter package with the IOS.
I solved the issue by double clicking and running Runner.xcworkspace instead of Runner.xcodeproj

Cocoapods warning on Xcode 9.3

I'm getting a warning on Xcode 9.3 which was released today. I'm using cocoapods as a dependency manager.
:-1: Target Pods-Project-test product Pods_Project-test cannot link
framework Foundation.framework
Is this related to the New Build System ?
Help is highly appreciated
Relink the pod files inside your XCode project. This is work for me. Below you can see the files in my project.

Hockey Cocoa pod integration error - Resource not found

Yesterday my Xcode projects started failing with the following message:
error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script.
where "$RESOURCE_PATH" pointed to the hockey app pod.
I've tried:
pod install
completely removing cocoa pods integration and
re-integrating it with my projects
uninstalled cocoa pods from my
system and reinstalled
Nothing works. Has anyone had this issue or have any suggestions on how to resolve it?
Edit: This issue is now fixed in the latest CocoaPods version 1.0.0beta.6.
This is an issue with the latest CocoaPods prerelease version 1.0.0beta.5. It's being tracked here and a Pull Request with a fix has already been opened.
In the meantime, you can switch back to using the current stable version of CocoaPods, 0.39.0 or use the Podspec HockeySDK-Source instead.

Resources