SPM internal error on Xcode 14

After updating to Xcode 14 xcodebuild failing with:

❌  error: Build service could not create build operation: internal error: could not generate PIF because the workspace has not finished loading or is still waiting for package resolution

Error also reported to SPM Git Hub

To underscore the severity of this... We use CircleCI / Fastlane to build. We have local swift packages attached to our project. We simply cannot start using Xcode 14 because of this. While I can build on my own machine, Fastlane can't. And we can't upgrade all of our devs to this until Circle can build (and the rest of the devs can use the same Xcode).

The concern here is that at some point, Apple will insist that submission to the App Store must be built with Xcode 14. Probably a few months away from that, but it is unsettling, nonetheless.

Have anyone found a workaround solution for this?

SPM internal error on Xcode 14
 
 
Q