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

GitHubPopular-master/node_modules/react-native-splash-screen/ios/SplashScreen.h:9:9: fatal error: 'React/RCTBridgeModule.h' file not found #39

Open
hejunbinlan opened this issue Jun 9, 2017 · 10 comments

Comments

@hejunbinlan
Copy link

Check dependencies

Write auxiliary files
write-file /Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/Build/Intermediates/SplashScreen.build/Debug-iphonesimulator/SplashScreen.build/SplashScreen.hmap
write-file /Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/Build/Intermediates/SplashScreen.build/Debug-iphonesimulator/SplashScreen.build/SplashScreen-project-headers.hmap

CompileC /Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/Build/Intermediates/SplashScreen.build/Debug-iphonesimulator/SplashScreen.build/Objects-normal/x86_64/SplashScreen.o SplashScreen.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/node_modules/react-native-splash-screen/ios
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/opt/subversion/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/bin:/Users/hejunbin/java/maven/apache-maven-3.3.9/bin:.:/Users/hejunbin/.rvm/bin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=80 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=7.0 -g -Wno-sign-conversion -Wno-infinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/Build/Intermediates/SplashScreen.build/Debug-iphonesimulator/SplashScreen.build/SplashScreen-generated-files.hmap -I/Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/Build/Intermediates/SplashScreen.build/Debug-iphonesimulator/SplashScreen.build/SplashScreen-own-target-headers.hmap -I/Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/Build/Intermediates/SplashScreen.build/Debug-iphonesimulator/SplashScreen.build/SplashScreen-all-target-headers.hmap -iquote /Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/Build/Intermediates/SplashScreen.build/Debug-iphonesimulator/SplashScreen.build/SplashScreen-project-headers.hmap -I/Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/node_modules/react-native-splash-screen/ios/../../../React -I../../react-native/React -I../../react-native/React/Base -I../../react-native/React/CSSLayout -I../../react-native/React/Executors -I../../react-native/React/Modules -I../../react-native/React/Profiler -I../../react-native/React/Views -I/Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/Build/Intermediates/SplashScreen.build/Debug-iphonesimulator/SplashScreen.build/DerivedSources/x86_64 -I/Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/Build/Intermediates/SplashScreen.build/Debug-iphonesimulator/SplashScreen.build/DerivedSources -F/Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/Build/Products/Debug-iphonesimulator -DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -MMD -MT dependencies -MF /Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/Build/Intermediates/SplashScreen.build/Debug-iphonesimulator/SplashScreen.build/Objects-normal/x86_64/SplashScreen.d --serialize-diagnostics /Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/Build/Intermediates/SplashScreen.build/Debug-iphonesimulator/SplashScreen.build/Objects-normal/x86_64/SplashScreen.dia -c /Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/node_modules/react-native-splash-screen/ios/SplashScreen.m -o /Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/Build/Intermediates/SplashScreen.build/Debug-iphonesimulator/SplashScreen.build/Objects-normal/x86_64/SplashScreen.o
In file included from /Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/node_modules/react-native-splash-screen/ios/SplashScreen.m:10:
/Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/node_modules/react-native-splash-screen/ios/SplashScreen.h:9:9: fatal error:
'React/RCTBridgeModule.h' file not found
#import <React/RCTBridgeModule.h>
^
1 error generated.

** BUILD FAILED **

The following build commands failed:
CompileC /Users/hejunbin/workspace-js/ReactNative/openproject/GitHubPopular-master/ios/build/Build/Intermediates/SplashScreen.build/Debug-iphonesimulator/SplashScreen.build/Objects-normal/x86_64/SplashScreen.o SplashScreen.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/GitHubPopular.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/GitHubPopular.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

@zhaowei2530
Copy link

can you solve problem? me too

@zqderek
Copy link

zqderek commented Jun 27, 2017

I have the same problem.

@CLuRoad
Copy link

CLuRoad commented Jul 5, 2017

use '#import "RCTBridgeModule.h"' instead of '#import <React/RCTBridgeModule.h>',it works for me.

@summer0216
Copy link

me to!how to solve it?

4 similar comments
@yxwandroid
Copy link

me to!how to solve it?

@jiangdi0924
Copy link

me to!how to solve it?

@ghost
Copy link

ghost commented Feb 28, 2018

me to!how to solve it?

@jeremyfrancis
Copy link

me to!how to solve it?

@accwill
Copy link

accwill commented Jun 13, 2018

me to! how to solve it?

@nicotroia
Copy link

me to!how to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants