Swift, Objective-C, Assembly

Menu

Xcode 4.3.1 cannot attach to iOS Simulator (SOLVED)

So I downloaded Xcode 4.3.1 with the latest iOS SDK from the App Store and I’m not impressed at all. While Xcode 4.3.1 can run my old iOS apps in iOS Simulator without a problem, any new project created with this version of Xcode cannot be attached as a debug process to iOS Simulator at all. What does that mean? It means I have to wait endlessly for my apps to run on the simulator and at the end, they simply don’t run. I will end up with a black screen and the Xcode’s top bar keeps saying “Attaching to …” the app name…

Have you come across this problem?

Update 1 (Solution):

I managed to find the issue. The problem is with LLDB. LLDB is the default debugger which Xcode 4.3.1 chooses for every new iOS app. Once I changed my debugger from LLDB to GDB, I can run and debug my iOS apps on iOS Simulator. I hope this will be of help to those facing the same issue.

I have this problem with Xcode 5. I’m testing things out using Apples TicTacToe app (so built for ios 7 etc.) No matter what I try the debugger never attaches to the running app.. Anyone have any ideas?