Repository navigation
Conversation
iamgirya
requested review from
aaronsky,
adincebic,
brentleyjones,
keith and
luispadron
as code owners
November 25, 2026 12:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An XCFramework can name a dSYM after the framework binary rather than the framework:
xcodebuild -create-xcframework -debug-symbolskeeps the name it is given, and the WebRTC XCFramework we use shipsdSYMs/WebRTC.dSYM.apple_dynamic_xcframework_importonly takes*.framework.dSYMas dSYMs, so such a dSYM is silently left out of thedsymsoutput group and the framework can't be symbolicated.This takes any
.dSYMbundle of the XCFramework as a dSYM, andget_debug_info_binariesmaps<binary>.dSYMto<binary>.frameworklike<binary>.framework.dSYM. It also replacesrstrip(".dSYM")there, which strips a set of characters rather than the suffix.For the tests,
generate_dynamic_xcframeworkgetsdsym_named_after_binary, and the xcodebuild tool passes a dSYM of either name.Repro: https://github.com/iamgirya/bazel-rules-repros/tree/main/rules_apple/xcframework_binary_named_dsym
Tested:
apple_dynamic_xcframework_import_imported_xcframework_binary_named_dsyms_output_group_files_testand its_with_xcframework_import_toolvariant: onmainthe dSYM is missing from thedsymsoutput group; with this change both pass.bazel test //test/starlark_tests/... --config=cifor the XCFramework and framework import, XCFramework generation, framework, application and xcarchive suites: 551 of 559 pass; the other 8 are tvOS and watchOS app tests that need platforms I don't have installed.