Xcode 13.2 Won't Build Project
Update on Dec 19, 2021: This has been fixed in 13.2.1 of Xcode on the App Store. Update your Xcode app.
There's a known issue in the newest version of Xcode available from the Apple App Store. This issue is actually pretty big. If you're using Swift Package Manager, then your packages won't build.
Workaround
- Go to developer.apple.com/download/release/
- Sign in with your developer account
- Choose Applications
- Download Xcode from there
That is actually the workaround given by Apple as well.
How did this happen?
Xcode probably automatically updated from the Mac App Store.