Description
/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.