Can't run tvOS target for newly generated RN project
See original GitHub issueDescription
Basic iOS target runs successfully I’ve created basic RN project with the help of react-native-cli and tried to run tvOS target, but got the following issue:
AppleTvSample/node_modules/react-native/ReactCommon/jschelpers/Value.cpp:3:10: 'folly/json.h' file not found
!!!RNTester application fails for the tvOS target too with the error above
Reproduction Steps
> react-native init sample_program
> cd sample_program
> open ios/sample_program.xcodeproj
> change Run Target to tvOS. Run it
Sample Code
Solution
Can’t say for sure, because i’m not so familiar with XCode and Objective-C
Additional Information
- React Native version: 0.45.1
- react-native-cli: 2.0.1
- Platform: tvOS
- Development Operating System: macOS 10.11.6
- Build tools: Xcode 8.2.1
Issue Analytics
- State:
- Created 6 years ago
- Reactions:10
- Comments:22 (1 by maintainers)
Top Results From Across the Web
npx react-native run-ios doesn't work after initializing the project
How to fix: · Go to your project folder root and open the /ios directory. cd ios · Open your Podfile and change...
Read more >Configuring a new target in your project - Apple Developer
When you embed a new target inside an app, Xcode creates a dependency between the app and target if the scheme's Find Implicit...
Read more >react-native-tvos - npm Package Health Analysis - Snyk
New projects created this way will automatically have properly configured Apple TV targets created in their XCode projects. To use this NPM package...
Read more >Running On Simulator - React Native
Once you have your React Native project initialized, you can run npx react-native run-ios inside the newly created project directory.
Read more >Get Started with React Native - Visual Studio App Center
You're using a React Native project that runs React Native 0.34 or later. · You're targeting devices that are running on Android Version...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@vrudikov, @speedandfunction-anri, @speedandfunction-helen, @knot123 hi guys.
it’s confusing as hell but creating and ejecting an app with create-react-native-app resolved this one for me.
lulz 😅
@altayaydemir I tried but same error appears.
‘folly/json.h’ file not found