Skip to content
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

'React/RCTRootView.h' file not found #23952

Closed
YYL1999 opened this issue Mar 15, 2019 · 6 comments
Closed

'React/RCTRootView.h' file not found #23952

YYL1999 opened this issue Mar 15, 2019 · 6 comments
Labels
Bug Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@YYL1999
Copy link

YYL1999 commented Mar 15, 2019

l cannot run the project,because 'React/RCTRootView.h' file not found.so what should l do??

@react-native-bot
Copy link
Collaborator

Thanks for submitting your issue. Can you take another look at your description and make sure the issue template has been filled in its entirety?

👉 Click here if you want to take another look at the Bug Report issue template.

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. Resolution: Needs More Information labels Mar 15, 2019
@RyanElliott10
Copy link
Contributor

RyanElliott10 commented Mar 15, 2019

Try building React before the entire project. This may also be an issue with how you have your build scheme setup -- make sure to have Parallelize Build unselected.

Xcode -> Project Scheme -> Manage Schemes -> Double Click on yours -> Build -> Uncheck Parallelize Build

@akaralar
Copy link

akaralar commented Mar 17, 2019

I faced the same issue. Tried building React first but it didn't fix the issue. Parallelize Build is unselected as well.

I faced this issue when I tried to install react-native-fbsdk via cocoapods. Not only with react-native-fbsdk but some other packages had similar errors, files not found that belong to the React project. The common thing among these libs were that I was installing them with Cocoapods (as per the result of react-native link <package>. Cocoapods installs a version of React where there is only a Core folder in the pod, and the files not found were present in other folders in React included in the main project. I worked around the issue by linking manually instead of installing with cocoapods.

@YYL1999
Copy link
Author

YYL1999 commented Mar 17, 2019

Schemes

thanks .I redesigned a project that has been solved.

@YYL1999
Copy link
Author

YYL1999 commented Mar 17, 2019

我遇到了同样的问题。先尝试建筑,React但没有解决问题。Parallelize Build也是未被选中的。

当我尝试react-native-fbsdk通过cocoapods 安装时,我遇到了这个问题。不仅有react-native-fbsdk一些其他包有类似的错误,找不到属于该React项目的文件。这些库中常见的事情了,我是用的CocoaPods(安装它们按的结果react-native link <package>。的CocoaPods安装某个版本的React那里是只有Core在群文件夹,并在未找到的文件存在于其他文件夹React包含在主要项目。我通过手动链接而不是用cocoapods安装来解决这个问题。

I redesigned a project that has been solved.thanks

@michalchudziak
Copy link
Contributor

Hello there 👋 this issue doesn't have a repro (which means, a react-native init-ed project with the minimal changes that leads to creating the same issue you are reporting). Unfortunately, I have no way of helping you in a meaningful way – there is no easy way for me to recreate the situation and check that the issue reported is still there when changing the code.

Because of this, we are going to close this issue - but if a repro is shared, we are happy to reopen it 🤗

@facebook facebook locked as resolved and limited conversation to collaborators Apr 25, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants