Xcode 14.1 beta won't build when the GameController module is imported

Hey, there's an issue in the latest Xcode 14.1 beta (14B5024h) where importing the GameController module causes the build to fail. It produces the following error:

Failed to build module 'GameController' for importation due to the errors above; the textual interface may be broken by project issues or a compiler bug

Steps to reproduce

  1. Create new Xcode app project
  2. Add the line import GameController to the top of the file
  3. It can't build and fails with the above error.

I've also filed a bug report with Apple (FB11538209). Please fix this issue!

Answered by mouseme in 730243022

Today's Xcode 14.1 Beta 3 (14B5033e) fixes the issue for me 👍

I have the exactly the same issue.

Same Issue. I really think to regrets about be a Beta... Gonna downgrade my iOS version. Coming back when someone solve that.

Hello, I'm facing the same issue with xcode 14.0

Failed to build module 'MAdvertiseLocation' for importation due to the errors above; the textual interface may be broken by project issues or a compiler bug

it works in older versions of xcode .

Still broken in Beta 2

Also broken for me in Beta 2

I was looking forward to Beta 2, hoping they'd fixed. But nope, still broken :(

If you still need to compile with GameController on macOS 13 Ventura, you can if you use Xcode 14 beta 6.

The problem is, that I would like to work with ActivityKit, which is enabled in 14.1 :((

Accepted Answer

Today's Xcode 14.1 Beta 3 (14B5033e) fixes the issue for me 👍

Fixed in Beta3, topic can be closed!

Xcode 14.1 beta won't build when the GameController module is imported
 
 
Q