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

Post not yet marked as solved Up vote post of vlad_abr Down vote post of vlad_abr
1.5k views

Replies

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.

  • Hey @dan_morrow

    there is a one ugly workaround possible. Check the GitHub link above

Add a Comment

Have anyone found a workaround solution for this?