You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using react-native-cli by running command react-native init, the iOS project created has a tvOS target which runs fine when you use the Debug scheme, if you switch to Release scheme, XCode won't compile until you modify the test project twice.
Environment
Environment:
OS: macOS High Sierra 10.13.3
Node: 8.9.4
Yarn: 1.3.2
npm: 5.6.0
Watchman: 4.9.1
Xcode: Not Found
Android Studio: 3.0 AI-171.4443003
When using
react-native-cli
by running commandreact-native init
, the iOS project created has a tvOS target which runs fine when you use the Debug scheme, if you switch to Release scheme, XCode won't compile until you modify the test project twice.Environment
Environment:
OS: macOS High Sierra 10.13.3
Node: 8.9.4
Yarn: 1.3.2
npm: 5.6.0
Watchman: 4.9.1
Xcode: Not Found
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: ^16.3.0-alpha.1 => 16.3.0-alpha.1
react-native: 0.54.0 => 0.54.0
Expected Behavior
When switching to Release scheme, XCode should still be able to compile.
Actual Behavior
When switching to Release scheme, XCode won't compile.
Steps to Reproduce
react-native init
somewhere,=> XCode won't compile properly
Workaround
To fix it you have to modify the "...-tvOSTests" project configuration twice:
libReact.a
,-lc++
in the "Other Linker Flags" field.The text was updated successfully, but these errors were encountered: