Skip to content

run-macos --configuration flag not recognized #215

Open

Description

@jerrygreen

To disable warnings, etc? I don't see such option by default – it's builded only for "Debug" folder. I don't see such options in xcode also.

P.S. I'm new to cocoa btw (and xcode too)

Activity

  1. ptmt commented on Nov 5, 2018

    @ptmt
    Owner

    Via Xcode, go to Edit Scheme and choose Release
    image

    Via cli:
    react-native-macos run-macos ----configuration Release

    https://facebook.github.io/react-native/docs/running-on-device#building-your-app-for-production

  2. jerrygreen commented on Nov 7, 2018

    @jerrygreen
    Author

    @ptmt, in Xcode it works – cool, thanks

    however, the command:

    react-native-macos run-macos --configuration Release

    gives me this error:

    Jerrys-MacBook-Pro:client jerrygreen$ react-native-macos run-macos --configuration Release
    Scanning folders for symlinks in /Users/jerrygreen/projects/react-native-app/node_modules (94ms)
    
      error: unknown option `--configuration'
    
  3. changed the title [-]How to build for prod?[/-] [+]run-macos --configuration flag not recognized[/+] on Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions