react-native-macos icon indicating copy to clipboard operation
react-native-macos copied to clipboard

run-macos --configuration flag not recognized

Open jerrygreen opened this issue 6 years ago • 2 comments

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)

jerrygreen avatar Nov 04 '18 17:11 jerrygreen

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

ptmt avatar Nov 05 '18 09:11 ptmt

@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'

jerrygreen avatar Nov 07 '18 17:11 jerrygreen