Sharon Nathaniel
Sharon Nathaniel

Reputation: 1467

App crashes only in xcode instruments

I have a strange issue, I have developed an app , I analyzed the app from Xcode i.e 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. A screenshot of the issue What could be the problem ?

Upvotes: 3

Views: 3519

Answers (1)

Sveinung Kval Bakken
Sveinung Kval Bakken

Reputation: 3824

If you have any compile conditions, e.g.: #ifdef DEBUG ..., to switch on/off functionality between debug and release this could cause problems since Instruments uses the Release configuration and regular Simulator run uses Debug.

Upvotes: 9

Related Questions