when i compile my app, Xcode just says \"Attaching to Projectname...\" and gets stuck there. The debugger just prints this out:
error: failed to attac
You need to change the debbugger LLDB to GDB. This helped me start my program in the simulator.