user3355301
user3355301

Reputation: 55

NSThread.callStackSymbols behaves differently on .ipa

On debug, "NSThread.callStackSymbols" returns an array with full stack info but on Adhoc or Release I get little / no data.

Can anyone explain this behaviour because in some part(s) of my code I have to determine the caller of a method, or is there an alternative to this.

Upvotes: 0

Views: 228

Answers (1)

Nikolay Dimitrov
Nikolay Dimitrov

Reputation: 1896

When you submit your app for App Store it is in Release mode which means no debugging symbols are being generated.

If you want to get the same info as when you were testing, you simply need to go to XCode's Product menu -> Scheme -> Edit and chose 'Debug'.

Upvotes: 0

Related Questions