GitHubPopular icon indicating copy to clipboard operation
GitHubPopular copied to clipboard

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

Open hejunbinlan opened this issue 7 years ago • 10 comments

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

hejunbinlan avatar Jun 09 '17 07:06 hejunbinlan

can you solve problem? me too

zhaowei2530 avatar Jun 11 '17 01:06 zhaowei2530

I have the same problem.

zqderek avatar Jun 27 '17 06:06 zqderek

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

CLuRoad avatar Jul 05 '17 04:07 CLuRoad

me to!how to solve it?

summer0216 avatar Aug 06 '17 07:08 summer0216

me to!how to solve it?

yxwandroid avatar Nov 02 '17 03:11 yxwandroid

me to!how to solve it?

jiangdi0924 avatar Dec 08 '17 11:12 jiangdi0924

me to!how to solve it?

ghost avatar Feb 28 '18 16:02 ghost

me to!how to solve it?

jeremyfrancis avatar Apr 19 '18 17:04 jeremyfrancis

me to! how to solve it?

accwill avatar Jun 13 '18 10:06 accwill

me to!how to solve it?

nicotroia avatar Jul 21 '18 08:07 nicotroia