简体   繁体   English

仪器在Xcode 4.2模拟器中不起作用

[英]Instrument doesn't work in xcode 4.2 simulator

I am able to run the instrument on my device and can check for memory leaks but when I run the same code on simulator with instrument it hangs and my app can not go beyond splash screen. 我可以在设备上运行仪器,并且可以检查内存泄漏,但是当我在带有仪器的模拟器上运行相同的代码时,该代码会挂起,并且我的应用程序无法超出初始屏幕。 As soon as I force quit the instrument my app continues working. 一旦我强制退出仪器,我的应用就会继续运行。
I have also tested the code using xcode 3 and instrument is working fine for both ie for simulator as well as on device. 我还使用xcode 3测试了代码,并且该仪器对于模拟器和设备均正常运行。
Anyone can suggest what I am doing wrong while running instrument on xcode 4.2 simulator. 在xcode 4.2模拟器上运行仪器时,任何人都可以建议我做错了什么。

尝试所有内容后,我再次安装了xcode,现在可以正常工作了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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