Skip to content

[0.81] Fix dSYM structure in RNDeps precompiled binaries #1096

@cipolleschi

Description

@cipolleschi

Target Branch

0.81

Link to commit or PR to be picked

facebook/react-native@a843119

Description

Symbol files weren't copied correctly when building - as with bundles we did overwrite the files and ended up with only the last symbol file.

This commit fixes this by mapping the framework build folder architecture type to the xcframework slices creating the correct file structure under the Symbols folder.

  • Each slice gets a folder with the architecture name under Symbols containing the dSym folder for that slice
  • Refactored getting correct architecture folder into a separate function.
  • Refactored target folder lookup in copyBundles
  • Removed unused async modifier on function

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Projects

    Status

    Done / Picked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions