Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 6 Instruments freeze

Profiling my iOS 8 app in Xcode 6 Instruments will run the app for about 5 seconds and then freeze. The profiler will still run after that point but the app is frozen and unusable. Happens on device and simulator and regardless of which profiler I'm using (timer, leaks, etc.)

Running the app from the debugger or an ad hoc build works fine. Profiling with iOS 7 works fine as well.

Any idea why this may be happening? Is Instruments broken?

like image 230
Awesome-o Avatar asked Sep 24 '14 21:09

Awesome-o


2 Answers

Same issue here:

Application hangs when profiling with instrument in XCode 6.0.1

Looks like if you remove all the NSLog statements it will fix it. For me this is happening only on iOS 8, i have no problems on iOS 7.

like image 153
Mihai Georgescu Avatar answered Nov 14 '22 03:11

Mihai Georgescu


This was also happening to me on an iPod Touch + iOS 8.

Upgrading to 8.0.2 solved this problem for me.

like image 2
pevasquez Avatar answered Nov 14 '22 01:11

pevasquez