Why won't instruments execute my Monotouch application?

前端 未结 4 1787
南笙
南笙 2021-01-02 00:08

I\'m trying to use Instruments to look at resource usage in my Monotouch app. However, I can\'t get the app to launch through Instruments.

When I hit the record butt

4条回答
  •  感动是毒
    2021-01-02 00:21

    It's a signing problem: to run under the control of Instruments, the app is compiled with the Release build settings, not the Debug build settings, which usually means the app is signed with your Distribution certificate instead of your Developer certificate. The app needs to be signed with a Developer certificate for Instruments to be able to control it. Change your signing option to Developer on the Release build and you should be fine.

提交回复
热议问题