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

--apple_generate_dsym should also generate .symbols for upload to iTunes Connect #709

Closed
brentleyjones opened this issue Feb 14, 2020 · 0 comments · Fixed by #882
Closed

Comments

@brentleyjones
Copy link
Collaborator

Xcode allows for exporting symbols to allow iTunes Connect to symbolize crash reports, energy usage reports, and the metrics reports. Bazel currently doesn't support generating these symbols.

xcrun symbols should be called on each dSYM generated and packaged in a "Symbols" folder which is a sibling to the "Payload" folder:

xcrun symbols -noTextInSOD -noDaemon -arch all -symbolsPackageDir Symbols \
    bazel-bin/App/Sample.app.dSYM/Contents/Resources/DWARF/Sample_arm64 \
    bazel-bin/Extension/Extension.appx.dSYM/Contents/Resources/DWARF/Extension_arm64 \
    third_party/Framework.framework.dSYM/Contents/Resources/DWARF/Framework ...

It should also include the dSYMs for all embedded dynamic frameworks. This might require apple_dynamic_framework_import to take a new attribute that points to a dSYM.

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

Successfully merging a pull request may close this issue.

1 participant