Archive error using Xcode 11 with SPM dependencies

Hi there,


I have recently migrated our codebase to using Xcode 11, and everything is smooth and functional when debugging on the simulator or on a device. I did move some of my dependencies from Carthage -> Swift Package Manager, as I love the new first party support.


The issue is that when I attempt to archive the application for submission to the app store, the dependencies pulled in from SPM don't seem to be recognized. I receive the error "No such module 'X'" during the archival. I want to reiterate that this works when testing, just not when archiving.


Has anyone encountered this yet?


Thank you!

Replies

This sounds like the same problem as this:

https://forums.developer.apple.com/thread/119327