I have multiple projects where I use the Firebase/Analytics pod installed with CocoaPods.
Everything builds fine on Xcode 12 beta 2, but when I try to build for a real device or simulator (instead of Any iOS Device) on Xcode beta 3, it fails. Is this a known issue that should be fixed in a future version of Xcode?
Building on beta 3 takes a lot longer, and finally fails with an error that says library not found for -lFirebaseCore.
I've tried updating, removing, and re-installing Firebase with CocoaPods, along with cleaning the build folder and deleting DerivedData, restarting the computer, and restarting Xcode, but nothing has helped.
Everything builds fine on Xcode 12 beta 2, but when I try to build for a real device or simulator (instead of Any iOS Device) on Xcode beta 3, it fails. Is this a known issue that should be fixed in a future version of Xcode?
Building on beta 3 takes a lot longer, and finally fails with an error that says library not found for -lFirebaseCore.
I've tried updating, removing, and re-installing Firebase with CocoaPods, along with cleaning the build folder and deleting DerivedData, restarting the computer, and restarting Xcode, but nothing has helped.
I finally found the solution here: https://developer.apple.com/forums/thread/657913
By excluding arm64 as an architecture, it now builds fine and works in the simulator.
By excluding arm64 as an architecture, it now builds fine and works in the simulator.