Can't run Instruments from Xcode

后端 未结 9 2069
一生所求
一生所求 2021-02-20 11:52

I recently upgraded to Snow Leopard and since then I am having difficulty running Instrument to instrument my app from Xcode. The Record button would be grayed out, and nothing

相关标签:
9条回答
  • 2021-02-20 12:35

    Make sure all of your instruments support recording modes. When I upgraded from Xcode6 to Xcode7, one of my instruments was marked as "This instrument's supported recording modes are none". When I deleted this specific instrument, the recording button becomed enabled.

    0 讨论(0)
  • 2021-02-20 12:40

    I had this issue in Xcode 7. It turned out that, somehow, in the Profile section of my scheme settings, the Executable field had been cleared:

    I set the Executable field to my target name and the menu enabled again.

    0 讨论(0)
  • 2021-02-20 12:41

    Note that if you have multiple targets, it is very likely that you need indeed to tell Xcode which one you want to profile. Use the edit targets scheme above

    0 讨论(0)
提交回复
热议问题