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!

Xcode 13.2 - Internal error : Missing Package Description Module
 
 
Q