question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

0.52.0 'RCTTVRemoteHandler.h' file not found

See original GitHub issue

Hi!

I am trying to run my app on React Native 0.52.0 I get this error 2018-01-17_19-30-10

My podfile is `# You Podfile should look similar to this file. React Native currently does not support use_frameworks! source ‘https://github.com/CocoaPods/Specs.git

platform :ios, ‘8.0’

Change ‘AirMapsExplorer’ to match the target in your Xcode project.

target ‘clcorp’ do

pod ‘yoga’, :path => ‘…/node_modules/react-native/ReactCommon/yoga/yoga.podspec’ pod ‘React’, path: ‘…/node_modules/react-native’, :subspecs => [ ‘Core’, ‘RCTActionSheet’, ‘RCTAnimation’, ‘RCTGeolocation’, ‘RCTImage’, ‘RCTLinkingIOS’, ‘RCTNetwork’, ‘RCTSettings’, ‘RCTText’, ‘RCTVibration’, ‘RCTWebSocket’, ‘DevSupport’ ]

pod ‘GoogleMaps’ # <~~ remove this line if you do not want to support GoogleMaps on iOS pod ‘react-native-maps’, path: ‘…/’ pod ‘react-native-google-maps’, path: ‘…/’ # <~~ if you need GoogleMaps support on iOS

pod ‘BVLinearGradient’, :path => ‘…/node_modules/react-native-linear-gradient’ pod ‘RNDeviceInfo’, :path => ‘…/node_modules/react-native-device-info’

pod ‘ReactNativePermissions’, :path => ‘…/node_modules/react-native-permissions’ end

post_install do |installer| installer.pods_project.targets.each do |target| if target.name == ‘react-native-google-maps’ target.build_configurations.each do |config| config.build_settings[‘CLANG_ENABLE_MODULES’] = ‘No’ end end if target.name == ‘yoga’ target.build_configurations.each do |config| config.build_settings[‘GCC_TREAT_WARNINGS_AS_ERRORS’] = ‘NO’ config.build_settings[‘GCC_WARN_64_TO_32_BIT_CONVERSION’] = ‘NO’ end end end end`

Any ideas ? Thx

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
Riantcommented, Jan 18, 2018

@Clcll Check #17027

Try to add 'tvOS' to your react native subspecs, like below:

pod 'React', :path => '../tangguo/node_modules/react-native', :subspecs => [
    'Core',
    'tvOS', // here
    ...
]

It works well for me.

1reaction
miightycommented, Feb 2, 2018

Not too happy about adding TvOS but it did work for me also.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RCTFont.h file not found in react-native 0.60 - Stack Overflow
I am getting RCTFont.h file not found error after running react-native run-ios after upgrading to the react-native 0.60.
Read more >
Topics - SquarePants1991/RNTopics GitHub Wiki
React (0.52.0-rc.0) A framework for building native apps using ... 接着新的错误出现了, 'RCTTVRemoteHandler.h' file not found ,于是我在项目 ...
Read more >
Installation | React Native Navigation - Open Source
'RCTBundleURLProvider.h' file not found. ``` This is because the `React` scheme is missing from your project. You can verify this by opening the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found