Post

Replies

Boosts

Views

Activity

Reply to Xcode 13.2 - Internal error : Missing Package Description Module
My FB number is FB9812317. I downloaded XCode 13.2 direct from Apple on Dec 14 (3 days ago); built fine! I actually archived and submitted to App store. Today (Dec 17) I'm having the "Internal error: missingPackageDescriptionModule" build error. I sorely wish I'd kept XCode 13.1 (renamed as secondary app) instead of replacing it with XCode 13.2 — can I get a download of 13.1? I'm completely unable to build our team's project now.
Dec ’21
Reply to Xcode Previews doesn't work when used in a package that imports other packages.
Just ran across this on a project that is being refactored to have "better" code structure. This inability to preview views within a package that depend upon another package is pretty surprising, given the push toward Packages, the age of this post, and the number of upvotes here. In my experience, it's not that it couldn't find the package—adding the full path to the package ("/my/specific/dir/PackageName" instead of "../PackageName") did not work. The project builds and runs fine for simulators and the automated tests run and pass, but it does not build for previews. I sometimes see crashes, and sometimes the inline xcode source code error "could not find module '' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator". Those details seem interesting (not available for x86 when running simulator)—is this what others are seeing? I've tried setting various architectures—my Mac, my Mac (catalyst), iOS simulator running iOS15, etc. For now, my workaround may be to not have packages that depend upon each other, which partly defeats the purpose. And I may file a bug report, but I may find existing and upvote.
Feb ’22
Reply to Xcode 14 can't find local package's product
Same. These are 6 local packages (same Git repo), worked as-is in XCode 13. In addition to the main app target not finding them, 4 of the 6 are not navigable at the top, in the Scheme selector. The other 2 are selectable, but say "No Destinations" (and when "No Destinations" is selected, it says "The active scheme has no targets". Package.swift seems fine/same for all. I've tried removing and re-adding packages with mixed success (it seemed to clear up some errors, but ultimately resulted in others, and I reverted). May try that again. Have tried "File > Packages > Reset Package Caches" and of course "Clean Build Folder" and restarting XCode and Mac. I suppose it goes without saying this is a business-critical app, and that I didn't expect to have major local package issues with the update.
Sep ’22