Xcode: Should I Strip Debug Symbols During Copy?

ma11hew28 picture ma11hew28 · Jan 12, 2012 · Viewed 24.7k times · Source

The TestFlight SDK recommends setting Strip Debug Symbols During Copy to YES in Xcode Build Settings to enable the best crash reporting possible. I noticed that it's set to YES by default.

Should I change it to YES? Why or why not?

Answer

jasongregori picture jasongregori · Mar 13, 2013

I work at TestFlight. Short answer is: set it to YES.

Long answer:

@Kerni is correct. Before we started symbolicating server side, we needed that data to symbolicate on device.

So if you upload your dSYM to TestFlight, you can strip them. If you don't want to upload your dSYM for some reason, you can leave them in and TestFlight can symbolicate on device.

Basically the README was not updated. Sorry @Manni! I will update it for the next release. (I'm going to remove that entire section).

Sorry about the confusion!