简体   繁体   中英

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.

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.

如果你需要“窗口 - >设备和模拟器”,你可以查看相关设备上的崩溃日志。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM