-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'RCTDevMenu.h' file not found,in RCTTVRemoteHandler.m #15936
Comments
|
miss the |
node_modules/react-native/React/Modules old react-native version had the |
check if you have 'DevSupport' added, see |
Just came across this exact issue. Adding |
|
|
Thanks @Kaelzzs , pod 'React', :path => '../node_modules/react-native', :subspecs => [ This works for me. |
Is this a bug report?
react-native/node_modules/react-native/React/Base/RCTTVRemoteHandler.m:25:9: fatal error: 'RCTDevMenu.h' file not found
#import "RCTDevMenu.h"
^~~~~~~~~~~~~~
1 error generated.
Have you read the Contributing Guidelines?
(Write your answer here.)
Environment
react-native -v
:0.48.3node -v
:v8.2.1npm -v
:5.4.1yarn --version
:0.23.4Then, specify:
Steps to Reproduce
(Write your steps here:)
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
inhibit_all_warnings!
target "RNOC" do
pod 'Yoga', :path => '../react-native/node_modules/react-native/ReactCommon/yoga'
pod 'React', :path => '../react-native/node_modules/react-native', :subspecs => [
'RCTImage',
'RCTNetwork',
'RCTText',
'RCTWebSocket',
添加其他你想在工程中使用的依赖。
]
end
Expected Behavior
(Write what you thought would happen.)
Actual Behavior
(Write what happened. Add screenshots!)
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
The text was updated successfully, but these errors were encountered: