Skip to content

Add --skip-autolink option to react-native-node-api-cmake CLI #13

Description

@kraenhansen

Our CMake wrapping CLI produce an XCFramework discoverable by the auto-linking mechanism in our host pacakge. If library or app developers want to use the tool to build a prebuilt for manually linking into their project, by specifying a local Podspec, they would have to manually remove the auto-linking signature.

It would be great if react-native-node-api-cmake had an --skip-autolink (default false) to optionally skip the step which adds the signature.

Alternative names for the option:

  • --skip-autolinking
  • --no-autolink

Here's the code that currently adds the signature:
https://github.com/callstackincubator/react-native-node-api-modules/blob/4c325deb8e32a438070d93cd59cbde8473083698/packages/react-native-node-api-cmake/src/apple.ts#L192-L198

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions