Xcode 13.2 - Internal error : Missing Package Description Module

Hi guys, just updated Xcode to 13.2 via Mac App Store.

I installed the additional components, and my project won't compile anymore : Xcode just tells me "Internal error: missingPackageDescriptionModule - Resolving Package Graph Failed" when attempting to build. None of the Swift packages used within my app seems to build, because "Package resolution errors must be fixed before building".

Already attempted to clean derived data, reset Swift package caches and update package versions to no avail.

Guess I'll try re-installing Xcode but... does anyone else have the same issue ?

Using an M1 Mac and just updated to Monterey 12.1 if that's relevant.

Thank you !

Answered by DTS Engineer in 698777022

Xcode 13.2.1, released today, addresses this issue:

Resolved an issue where the Mac App Store version of Xcode failed during package resolution with the error Internal error: missingPackageDescriptionModulewhen using Swift packages either standalone or as dependencies in an Xcode project or workspace. (86435800) (FB9807887)

This update is available through the Mac App Store, as well as a direct download on the Apple Developer website.

If you can, downgrade to 13.1, it works there. As @waqar said, the 13.2RC works fine as well, at least for me.

Same issue here!

Same issue for me!

To add insult to injury if you create a brand new Xcode project and try to add ANY package from Github the process hangs immediately on "Preparing to validate"

Come on Apple! Are you for real?

Running into the same issue on our project as well.

Make sure to file a Feedback Request:

Mine is FB9807970

Same issue here, Xcode 13.2 on Monterey 12.0.1.

I was able to get it to go away for a few hours, not sure how exactly, may have involved deleting and re-adding the package manually. Also I cleared derived data, etc. Now it's back anyway, and I can't communicate with the package server, so I can't re-add it.

I have the same issue. FB9807975. MacBook Pro 2019 16" i9.

Am yet to upgrade to Monterey 12.1, so trying that now in case it resolves this although from what I'm reading elsewhere, doesn't seem to.

We're currently investigating this issue — thank you to those who have filed bug reports so far.

To workaround this issue, please re-download Xcode 13.2 directly from Releases section of the Apple Developer website. This information is also captured in the Xcode 13.2 Release Notes.

If you still encounter this issue after downloading that specific version of Xcode, please open a bug report using Feedback Assistant, and post the FB number here.

46

I have an M1 Mac mini with Big Sur 11.6.2 and a MacBook Pro M1 Pro with Monterrey 12.1. Both have this issue with Xcode 13.2. So it has nothing to do with macOS version.

same here

I can confirm that downloading Xcode from https://developer.apple.com/download/release/ fixes the issue. It is strange that build which is in App Store does not work

Same here. My setup is now just completely broken.

"Just redownload" would be a convenient solution... if Xcode wasn't so ridiculously large. It's larger than the entire OS. I actually had to free hard-drive space just to be able to download the update (wanna know the biggest thing I removed? Xcode caches! 12GB, including multiple GBs of "indexes" per Swift package) -- and even then, it took 4 (!!!) hours.

As a developer, I feel like Apple doesn't care about me, or value my time. If regular customers were seeing issues like this? It'd be a priority 1, show-stopping bug. But because it's only developers? Nobody cares. Get your act together, Apple! This is no way for any developer to treat their users -- even if those users are "only" other developers!

This was happening on macOS 11.6 (Why not 12.0? Because I updated, and it was also horribly broken; tap to click on the trackpad was broken, the cursor was jittery, and my WiFi became really dodgy).

I'm terribly disappointed. This feels like 1990s Microsoft - just disgustingly complacent across the board.

same with me. Please check and test before releasing a version to the user. If not please don't release . -_-

Also, why has this not been pulled from the AppStore when it is clearly broken and even the release notes acknowledge that?

Just. Seriously. 🤦‍♂️

What is even going on?!

Same issue here, Xcode 13.2 on Monterey 12.0.1.

Apple how so? Don't you have testers? Why does the IDE perform worse with every update?

Same issue here :(

Xcode 13.2 - Internal error : Missing Package Description Module
 
 
Q