react-native-macos/local-cli/templates/HelloWorld
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
..
__tests__ Rewrite 'react-native init' and 'react-native upgrade' without using Yeoman in preparation for templates support 2016-11-18 18:28:51 -08:00
android BREAKING: Android - ReactNativeHost getUseDeveloperSupport to public #2 2016-12-15 21:13:38 -08:00
ios Fix template release build: Add -ObjC and -lc++ to tests target 2017-01-16 13:13:31 -08:00
_babelrc Fix handling of dotfiles in 'react-native init' and 'react-native upgrade' 2016-11-21 12:58:29 -08:00
_buckconfig Fix handling of dotfiles in 'react-native init' and 'react-native upgrade' 2016-11-21 12:58:29 -08:00
_flowconfig Update template app's Flow config to Flow v0.37 2016-12-14 12:28:30 -08:00
_gitattributes Allow git to merge pbxproj files 2016-11-22 17:58:29 -08:00
_gitignore add yarn-error.log to gitignore 2016-12-21 15:28:39 -08:00
_watchmanconfig Fix handling of dotfiles in 'react-native init' and 'react-native upgrade' 2016-11-21 12:58:29 -08:00
index.android.js Rewrite 'react-native init' and 'react-native upgrade' without using Yeoman in preparation for templates support 2016-11-18 18:28:51 -08:00
index.ios.js Rewrite 'react-native init' and 'react-native upgrade' without using Yeoman in preparation for templates support 2016-11-18 18:28:51 -08:00