Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which extra settings in Xcode are applied when Archiving?

Tags:

xcode

ios

I have an iOS project. In response to Build (with a release configuration selected in the scheme) the dsym for it weighs in at 6.5MB. However, when I Archive (with the same configuration selected in the scheme) it weighs in at only 2.9MB.

This is not an academic problem. The missing data includes all the symbols for my static libraries, which is making my crash logs a lot less useful.

Which settings could account for a difference between a Build and Archive with the same configuration selected?

This is with Xcode 5.0, though I think I've been having this problem for a while.

like image 720
Steven Fisher Avatar asked Oct 10 '13 03:10

Steven Fisher


1 Answers

I believe a few things it does are:

  • Remove all debugging symbols from the app to the .dsym file
  • Compresses various articles from ascii to binary (such as strings files)

Some of the differences may be from the following build flags:

  • DEPLOYMENT_POSTPROCESSING=YES
  • STRIP_INSTALLED_PRODUCT=YES
  • SEPARATE_STRIP=YES
  • COPY_PHASE_STRIP=YES
like image 85
Brett Avatar answered Sep 22 '22 12:09

Brett