Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift bitcode Crashlytics __hidden #124

Open
onmyway133 opened this issue Apr 20, 2016 · 8 comments
Open

Swift bitcode Crashlytics __hidden #124

onmyway133 opened this issue Apr 20, 2016 · 8 comments
Labels

Comments

@onmyway133
Copy link
Owner Author

@onmyway133
Copy link
Owner Author

onmyway133 commented Apr 25, 2016

https://twittercommunity.com/t/crash-logs-show-hidden-and-cant-be-symbolicated/59103

for d in dSYMs/*                                                                                                                                    
    dwarfdump $d | grep "hidden"
end

https://twittercommunity.com/t/crash-logs-have---hidden-since-my-last-uploads-to-itunes/64661/7

That is the expected behavior. The reason why the dSYM you downloaded contains "__hidden#" is because you didn't share the symbols with Apple. The symbols are intentionally obfuscated so Apple cannot see them nor recover them.
There are few options:

  1. Share the symbols with Apple. Apple will be able to generate symbolicated crash for you and the dSYM you downloaded from iTunes will not contains "__hidden#" as well.
  2. Using dsymutil to recover the symbols from the dSYM bundle you downloaded. You need to locate the archive for the corresponding submission and there should be a directory named "BCSymbolMaps". Run:
    dsymutil --symbol-map PATH_TO_BCSYMBOLMAPS_DIR downloaded.dSYM
for d in dSYMs/*
   dsymutil --symbol-map path/to/file.xcarchive/BCSymbolMaps $d
end

@onmyway133
Copy link
Owner Author

onmyway133 commented Apr 25, 2016

BCSymbolMaps https://forums.developer.apple.com/thread/14729

A BCSymbolMap is a lot like a dSYM for bitcode

These BCSymbolMap files are generated when you build the associated framework/app

@onmyway133
Copy link
Owner Author

onmyway133 commented Apr 25, 2016

Copy bcsymbolmap files when building Carthage/Carthage#853

@onmyway133
Copy link
Owner Author

@onmyway133 onmyway133 changed the title Swift Crashlytics __hidden Swift bitcode Crashlytics __hidden Apr 27, 2016
@onmyway133
Copy link
Owner Author

@onmyway133
Copy link
Owner Author

BITCODE_GENERATION_MODE Carthage/Carthage#535 (comment)

@onmyway133
Copy link
Owner Author

http://stackoverflow.com/questions/9977625/crashlog-links-to-which-dsym

dwarfdump --uuid yourapp.app.dSYM
mdfind "com_apple_xcode_dsym_uuids == 5255A87A-B23C-3AE8-B367-14B49C21C1D6"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant