[英]Profiling iphone with shark: Nothing happens after pressing start
我以前在Mac应用程序中使用过shark。 我现在正试图为iPhone设置它,但它不想工作。
我已经从另一篇文章中了解了这些说明:构建应用程序并在设备上启动
- Launch Shark
- From the Shark menu, select Sampling->Network/iPhone Profiling
- In the Shark window, select the radio button "Control network profiling of shared computers".
- Select your iPhone in the list and optionally configure the profiling session
- Press Start to begin profiling, and Stop to end
除了最后一步,一切都很好。 我按开始并没有任何反应......这真的令人沮丧,因为开始按钮不是灰色的,鲨鱼只是默默地失败而没有任何进一步的消息。
我试过:
- Reboot
- Re-install latest XCode
- Restore my ipod
- Try different USB port
- Disabling firewall
有人有其他建议或过去见过吗?
显然Apple已经放弃了对鲨鱼和iOS 4的支持......我们应该使用名为Instruments的应用程序。
我在apple dev论坛上看过这个: https : //devforums.apple.com/message/243237 (如果你可以访问它)
XCode 3.2.3 / iOS4 / 3GS也存在同样的问题
一个人说发布版本ttp://forums.macrumors.com/showthread.php?t = 619564
另一个说做一个调试构建ttp://www.switchonthecode.com/tutorials/using-shark-to-performance-tune-your-iphone-app
后一页说明直接从iPhone发布,而不是从Xcode发布。
我已尝试过调试/发布,iPhone直接/来自Xcode的组合,但没有成功。
Apple开始使用shark doc并没有说任何关于哪个版本或如何启动你的应用程序:( http://developer.apple.com/iphone/library/documentation/DeveloperTools/Conceptual/SharkUserGuide/GettingStartedwithShark/GettingStartedwithShark.html
希望我们能尽快找到解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.