0fcaca8e26
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 |
||
---|---|---|
.. | ||
HelloWorldTests.m | ||
Info.plist |