firebase-ios-sdk
firebase-ios-sdk copied to clipboard
Cannot Build app Xcode 14.1 iOS16.1
Description
Cannot build my app with Xcode 14.1 and iOS 16.1 beta 1. It says cannot build module 'GameKit' in FIRGameCenterAuthProvider.m file.
Reproducing the issue
No response
Firebase SDK Version
9.6.0
Xcode Version
14.1
Installation Method
Swift Package Manager
Firebase Product(s)
Authentication
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
facing the same issue
same issue here, please give us a workaround
Thanks for the report. I've also reproduced the same error. I'll check with the team if it's a bug on the SDK or in Xcode since it's only happening on Xcode 14.1. I've also found a ticket in Apple forum getting the same issue.
This looks like an Apple Issue in the Xcode 14.1 beta. I recommend sticking with Xcode 14.0 until Apple resolves it.
To workaround the issue with the Xcode 14.1 beta, if you're not using the GameCenter Firebase Auth provider, you can remove the file FirebaseAuth/Sources/AuthProvider/GameCenter/FIRGameCenterAuthProvider.m after installing Firebase and rebuild.
Same issue. Need to use Xcode14.1 beta to build Live Activities
just to confirm that the workaround suggested is working for now, the project is compiling. Thanks!
This looks like an Apple Issue in the Xcode 14.1 beta. I recommend sticking with Xcode 14.0 until Apple resolves it.
To workaround the issue with the Xcode 14.1 beta, if you're not using the GameCenter Firebase Auth provider, you can remove the file
FirebaseAuth/Sources/AuthProvider/GameCenter/FIRGameCenterAuthProvider.mafter installing Firebase and rebuild.
@paulb777 Hey - how do you remove that file if it's installed via SPM?
Works for me for now @paulb777 thanks. I will try to reinstall pod after this issue is solved by apple
@yunustek From SPM, change the file permissions from the command line and comment out the contents of the file
@paulb777 thanks, that worked!
The issue is NOT fixed with Xcode 14.1 beta 2
The issue is NOT fixed with Xcode 14.1 beta 2
not, still here
Same problem with Xcode 14.1 beta 2 Apple is really getting into my nerves 😤
This issue is fixed in Xcode 14.1 beta 3 🎉
@kushsolitary Thanks for checking and sharing the news!