简体   繁体   中英

App crashes only in xcode instruments

I have a strange issue, I have developed an app , I analyzed the app from Xcode ie Xcode>Product>Analyze, then fixed any memory leaks I got. I ran the app in ipad simulator it worked fine, no crash nothing, ran it on an iPad device;no crash no errors nothing.

But when I tried to profile the app from instruments for memory leaks , during profiling there were no memory leaks, but at one stage when I load a modal view and then after Modal view dismissal the app crashes and instrument displays simulator session time out. 该问题的屏幕截图 What could be the problem ?

如果您有任何编译条件,例如: #ifdef DEBUG ... ,要在调试和发布之间打开/关闭功能,这可能会导致问题,因为Instruments使用Release配置并且常规Simulator运行使用Debug。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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