-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
CMake RNOur `cmake` wrapping CLIOur `cmake` wrapping CLI
Description
In this mode, separate dsym
files gets created which needs to be supported by createXcframework
.
We need to pass the the dsymPaths
via -debug-symbols
somewhere around here:
react-native-node-api/packages/host/src/node/prebuilds/apple.ts
Lines 104 to 115 in 58d17e6
await spawn( | |
"xcodebuild", | |
[ | |
"-create-xcframework", | |
...frameworkPaths.flatMap((p) => ["-framework", p]), | |
"-output", | |
xcodeOutputPath, | |
], | |
{ | |
outputMode: "buffered", | |
}, | |
); |
If passed we should assert equal lengths of frameworkPaths
and dsymPaths
and "fold" them:
...frameworkPaths.flatMap((a, i) => ["-framework", a, "-debug-symbols", dsymPaths[i]]),
Metadata
Metadata
Assignees
Labels
CMake RNOur `cmake` wrapping CLIOur `cmake` wrapping CLI