Post

Replies

Boosts

Views

Activity

Reply to Xcode creates schemes for some referenced Swift Packages
This is indeed undesirable behavior. I'm not sure whether Apple is aware but you should file a feedback for it. In the meantime, there's a workaround you can propose to your third party libraries' maintainers to adopt, and it consists on using an xcworkspace as the scheme container as opposed to .swiftpm. Example: https://github.com/sideeffect-io/AsyncExtensions/pull/29. As I said, unfortunately this is up to the maintainers to adopt, not you, as Xcode reads the checked in .swiftpm folder from your dependencies and grabs the schemes from there without you having a say in it. Again, probably undersirable behavior and an oversight from the Xcode team, so worth filing a radar.
Nov ’22