react-native-macos/template/ios
zhongwuzw 0fcaca8e26 Fixes template build failed in release mode (#25751)
Summary:
Fixes https://github.com/facebook/react-native/issues/25745, Xcode stripped dead code in Release mode, and in template test code, it should only run in Debug mode, so we can use a macro to fix this issue.

## Changelog

[iOS] [Fixed] - Fixes template build failed in release mode
Pull Request resolved: https://github.com/facebook/react-native/pull/25751

Test Plan:
1. Create a new project using `react-native init AwesomProject`.
2. Change project target scheme to `Release`.
3. Build and it should success.

Differential Revision: D16442643

Pulled By: TheSavior

fbshipit-source-id: f08ed70523aa1aa418064465f8df367a06e8974f
2019-07-23 11:08:41 -07:00
..
HelloWorld Fix Info.plist templates to prevent parse error (#23924) 2019-03-15 03:40:20 -07:00
HelloWorld-tvOS Fix Info.plist templates to prevent parse error (#23924) 2019-03-15 03:40:20 -07:00
HelloWorld-tvOSTests Move react-native template 2018-12-07 07:49:19 -08:00
HelloWorld.xcodeproj Rename ios project name with new template (#24292) 2019-04-03 10:45:35 -07:00
HelloWorldTests Fixes template build failed in release mode (#25751) 2019-07-23 11:08:41 -07:00
Podfile TM iOS: move jscallinvoker under ReactCommon podspec 2019-07-12 22:44:20 -07:00