Xcode Attaching To App, If you selected the … In the Xcode Menu, select Debug -> Attach to Process by PID or Name.