Change IOS Library Symbol Handling #1277

cfis opened this Issue Mar 13, 2013 · 1 comment


None yet
2 participants

cfis commented Mar 13, 2013

Previously crashes from our app that originated in RestKit could not be fully symbolicated - we could get the method name but not the line number or source code.

We fixed this issue via changing these settings for Release builds:

Strip Debug Symbols During Copy (COPY_PHASE_STRIP): No
Strip Linked Product (STRIP_INSTALLED_PRODUCT): No
Symbols Hidden By Default (GCC_SYMBOLS_PRIVATE_EXTERN): No

Note these settings do *not *result in the symbols being included in the final executable. They still get stripped to the DSYM since the app project sets Strip Debug Symbols to YES for release builds.

But they do allow Xcode to see the symbols when creating the final executable and allow the static library symbols to get included in the final DSYM file thereby allowing full symoblication of crash reports.

So - the request is to update the RestKit ios project file. Happy to submit a pull request if you would like.

There is a lot of confusion on the Web about this, but a couple posts helped us figure it out:

TheRealKerni/QuincyKit#91 (comment)

@ghost ghost assigned blakewatters Mar 13, 2013


This comment has been minimized.

Show comment Hide comment

blakewatters Mar 13, 2013


Seems reasonable. Will push the changes shortly.


blakewatters commented Mar 13, 2013

Seems reasonable. Will push the changes shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment