firebase-ios-sdk: Cannot Build GameKit with Xcode 14.1 beta

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!

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 4
  • Comments: 17 (5 by maintainers)

Most upvoted comments

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.

This issue is fixed in Xcode 14.1 beta 3 🎉

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.

@yunustek From SPM, change the file permissions from the command line and comment out the contents of the file

@kushsolitary Thanks for checking and sharing the news!

@paulb777 thanks, that worked!

facing the same issue

image