Skip to content

Can't run tvOS target for newly generated RN project #14613

@vrudikov

Description

@vrudikov

Description

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

AppleTvSample

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions