Why is “Run > Run with Performance Tool > Shark” always gray in Xcode? How to call that?

蹲街弑〆低调 提交于 2019-12-05 13:12:11

I see the same issue when working in iPhone Apps. For MAC Apps it is not greyed out on Snow Leopard for me at least.

So... I suggest build and run your application, then find the Shark Application and launch it manually.

Here is a quick guide I found useful.

http://rudifa.wordpress.com/2009/09/16/profiling-an-iphone-application-with-shark/

Good luck!

Kevin

Just to add to the "real" answer, there are a number of things XCode greys out that are OK to run. You can for example launch Instruments manually and attach to your app to run other instruments XCode would not let you start with, Shark as noted is the same way.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!