I also have the problem with Xcode 16 on Sonoma 14.6.1, and a Swift command-line app that uses SwiftGL.
I randomly get 1, 2 or 3 instances of the executable. Most of the time there are 2 instances on my MacBook Pro, while on my Mac Studio there are usually 3.
This is definitely a quality-of-life issue for me. I spent a half hour wondering why the debugger wouldn't stop at any breakpoints. I finally realized that the debugger was attached to only one of the instances.
Now the work-around is to guess which of the app instances is actually attached to the debugger?
Yikes!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: