Skip to content

Support RelWithDebInfo in CMake RN #255

@kraenhansen

Description

@kraenhansen

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:

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 CLI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions