react-native-macos/local-cli
rh389 e0c3d56d3a Fix template release build: Add -ObjC and -lc++ to tests target
Summary:
Fixes https://github.com/facebook/react-native/issues/11861 - the release config is currently broken for projects created by `react-native init` in `master`, 0.40 and 0.39.

I'm still investigating when and how this got broken but this seems to be a clean fix. I've added `-ObjC` as well to match the main target but I'm not sure yet whether that's necessary.

To test:
```
react-native init fooproject --version react-native@rh389/react-native#missinglinkerflags
```
Open in XCode, Edit scheme (⌘<), Change `Build Configuration` to `Release`, build.

Update: The `-lc++` flag became necessary when 33deaad196 landed because of the libstdc++ dependencies of `RCTLog`. Still not sure about `-ObjC`. javache ?
Closes https://github.com/facebook/react-native/pull/11889

Differential Revision: D4421685

Pulled By: javache

fbshipit-source-id: 954edaef773f8cef7b7ad671fa4d1f2bfc2f20f2
2017-01-16 13:13:31 -08:00
..
__mocks__ Fix lint in local-cli 2016-11-14 11:13:42 -08:00
bundle Allow project-specific config for RN CLI using providesModuleNodeModules 2017-01-12 21:13:36 -08:00
core Allow project-specific config for RN CLI using providesModuleNodeModules 2017-01-12 21:13:36 -08:00
dependencies BREAKING: expose `getTransformOptions` directly in configuration 2016-11-28 07:28:33 -08:00
generator Fix instructions in 'react-native init' 2016-12-12 09:13:30 -08:00
init CLI: Show npm / yarn output during 'react-native-init' when installing React and Jest 2016-12-06 13:58:31 -08:00
install Further RNPM integration 2016-08-22 08:58:37 -07:00
library Fix lint in local-cli 2016-11-21 10:28:34 -08:00
link Fully support new import system on iOS 2017-01-12 14:58:28 -08:00
logAndroid Use native Promise in local-cli 2016-11-21 10:28:34 -08:00
logIOS Use native Promise in local-cli 2016-11-21 10:28:34 -08:00
runAndroid Feat/run android specify activity 2017-01-09 04:13:32 -08:00
runIOS Add no-packager option to run-android and run-ios commands 2017-01-09 03:28:29 -08:00
server Allow project-specific config for RN CLI using providesModuleNodeModules 2017-01-12 21:13:36 -08:00
templates/HelloWorld Fix template release build: Add -ObjC and -lc++ to tests target 2017-01-16 13:13:31 -08:00
upgrade New upgrading process, relying on Git 2016-11-28 08:28:35 -08:00
util Merge `rnpm config` with the `cli config`, step 1 2017-01-09 07:58:33 -08:00
.eslintrc Break out defaults, add flow for Config 2016-10-22 06:13:42 -07:00
cli.js packager: centralize babelRegisterOnly callsites 2017-01-06 06:13:54 -08:00
cliEntry.js Merge `rnpm config` with the `cli config`, step 1 2017-01-09 07:58:33 -08:00
commands.js Merge `rnpm config` with the `cli config`, step 1 2017-01-09 07:58:33 -08:00
setup_env.bat Fix comments on .bat file 2015-10-28 21:36:07 -04:00
setup_env.sh Change ulimit to 2048 for non root Mac users 2016-02-06 11:45:37 -08:00
wrong-react-native.js Fix usage of react-native cli inside package.json scripts 2016-04-26 15:42:35 -07:00