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.

Same issue here. Same Xcode and OS versions, on M1. I tried removing and re-adding the package, but that didn't fix it.

Same issue, "Internal error: missingPackageDescriptionModule". Tried removing / re-adding the package dependencies but xcode13.2 is stuck in the "Preparing to validate..." stage. issue on all projects (iOS and MacOS) on intel iMac & mbp M1max. both machines upgraded to Monterey 12.1.

Thank you for your replies, that's a bit reassuring to read that my project isn't the only one affected by this issue even though I'm sorry for you lads.

I'm guessing we're probably due for a minor Xcode update to fix this ? I'm on my way to reinstall 13.1 and I'd advise you to do the same for the time being. Hope they'll get it fixed soon !

Same issue here. I've used Xcode 13.2 beta 2 with macOS 12.0.1 without this issue.

:( Same issue. Even tried creating a brand new Swift Package (blank w/one test) and still seeing the issue, so it doesn't seem project specific...

FWIW, xcode 13.2 also started sending me those errors related to github.com certificate validation.

Same issue here.

I have the same issue with the AppStore Version. The 13.2 RC works fine for me.

I have a similar issue. I am using a workspace with many projects and packages, and when updating today to xcode 13.2 all the targets to my packages disappeared and now my projects won't build. The error was missingPackageDescriptionModule. Tried recreating the workspace but still when adding packages, local or remote, their targets are not created.

Didn't have any problems with the betas of xcode 13.2.

Same issue here. I don't have an M1 mac though, so I don't think that's relevant. All my projects are "broken" at the moment...

Same issue here running the 2020 M1 13" mbp

Same issue here!

Same. MacBook M1 Pro. All SPM packages are missing from the project folder, and same error as above. Downloading the previous version :-(

Me, too. Apple!!!

Same issue, no Swift Packages will load, I can't believe they released this crap, they just took down all their developers!

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

Xcode 13.2 - Internal error : Missing Package Description Module
 
 
Q