-
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
Build Failed UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; #13901
Comments
remove the
Solved the problem for me.. |
@Stoffern solution didnt worked for me but like he says, i´ve been using old libs, so after upgrading RN it worked. I did |
Reinstalling the node modules worked for me. Thanks @Stoffern! |
v0.43.4 didn't work, i need fixed in v0.43.4 |
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally! If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution. |
/ios/managerTests/managerTests.m:40:29: error: implicit declaration of function 'RCTSharedApplication' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
heres my package.json
{
"name": "manager",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"firebase": "^3.9.0",
"react": "16.0.0-alpha.6",
"react-native": "0.43.3",
"react-native-router-flux": "3.38.0",
"react-redux": "4.4.5",
"redux": "^3.6.0",
"redux-thunk": "^2.2.0"
},
"devDependencies": {
"babel-jest": "19.0.0",
"babel-preset-react-native": "1.9.1",
"jest": "19.0.2",
"react-test-renderer": "16.0.0-alpha.6"
},
"jest": {
"preset": "react-native"
}
}
Initially it wasn't ablel to find a module, so I reverted back my code , and now I see that The simulator works, , but still it says that Build Failed, what is that ? Please guide.
The text was updated successfully, but these errors were encountered: