[SwiftPM] Xcode spawns 3 instances for my executable target

When I build and run my swift pm project Xcode 16 run 3 instances each time: 1 attached to Xcode and 2 runs via terminal



I've no idea why its happens on xcode 16, but the same target running via terminal or VSCode works as expected and spawn only 1 process.

Hi @SpectralDragon -

I think this is better as Feedback filed against Xcode, as it's directly related to what Xcode is doing, not how SwiftPM is interacting with your project. It's a bit off topic for what SwiftPM is doing and the open-source aspects of Swift.

2 Likes

Thanks! I send my problem via Feedback app to Xcode Dev Team. I hope they fill fix it as soon as possible :)