etayluz
etayluz

Reputation: 16416

iOS: App crashes when pressing record in Instruments

Regardless of the template I pick in Instruments (Allocations, Leaks, Activity Monitor) - the app crashes right away when pressing record. There is NO stack trace or any warning whatsoever - and after that the Instruments sometimes freezes and needs to be forcibly shut down.

I'm using XCode 6.3.2.

I should also add that this is happening on my device.

Upvotes: 6

Views: 3279

Answers (2)

CMash
CMash

Reputation: 2168

If you got to 'Window -> Devices and Simulators' you can look at the crash logs on the device in question.

Upvotes: 2

etayluz
etayluz

Reputation: 16416

I found a workaround. After installing app to phone via XCode, I kill the app. Then I go to Instruments and select the app in Instruments and press the record. This launches the app on the phone and the Instruments work!

Also, the proper way to launch Instruments is by pressing CMD-I in XCode. I was opening it from the developer tools which is wrong.

Upvotes: 11

Related Questions