Skip to content
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.

Can't find <React/RCTBridgeModule.h> #93

Open
GEverding opened this issue Jun 11, 2018 · 0 comments
Open

Can't find <React/RCTBridgeModule.h> #93

GEverding opened this issue Jun 11, 2018 · 0 comments

Comments

@GEverding
Copy link

Following the setup Instructions and getting this error:

=== BUILD TARGET RCTVibration OF PROJECT RCTVibration WITH CONFIGURATION Debug ===


Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/Objects-normal/x86_64
write-file /Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/Objects-normal/x86_64/RCTVibration.LinkFileList
write-file /Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/RCTVibration-own-target-headers.hmap
write-file /Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/RCTVibration.hmap
write-file /Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/RCTVibration-all-non-framework-target-headers.hmap
write-file /Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/RCTVibration-project-headers.hmap
write-file /Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/RCTVibration-generated-files.hmap
write-file /Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/RCTVibration-all-target-headers.hmap

Analyze RCTVibration.m normal x86_64
    cd /Users/geverding/sandbox/github/cabin/node_modules/react-native/Libraries/Vibration
    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:/Users/geverding/.asdf/bin:/Users/geverding/.asdf/shims:/usr/local/opt/libxml2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/MacGPG2/bin:/Applications/Wireshark.app/Contents/MacOS:/usr/local/opt/openssl/bin:/Users/geverding/.google-cloud-sdk/bin:/Users/geverding/Library/Python/2.7/bin:/Users/geverding/software/android-ndk-r13b:/Users/geverding/.cabal/bin:/Users/geverding/sandbox/wemesh/golang/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Users/geverding/software/flutter/bin:/Users/geverding/.asdf/bin:/Users/geverding/.asdf/shims:/usr/local/opt/libxml2/bin:/usr/local/opt/fzf/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/geverding/sandbox/github/cabin/iOS/build/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/geverding/sandbox/github/cabin/iOS/build/ModuleCache.noindex/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 -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 -Wimplicit-retain-self -Wduplicate-method-match -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-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/iPhoneSimulator11.4.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__clang_analyzer__ -Xclang -analyzer-output=plist-multi-file -Xclang -analyzer-config -Xclang path-diagnostics-alternate=true -Xclang -analyzer-config -Xclang report-in-main-source-file=true -Xclang -analyzer-config -Xclang nullability:NoDiagnoseCallsToSystemHeaders=true -Xclang -analyzer-checker -Xclang security.insecureAPI.UncheckedReturn -Xclang -analyzer-checker -Xclang security.insecureAPI.getpw -Xclang -analyzer-checker -Xclang security.insecureAPI.gets -Xclang -analyzer-checker -Xclang security.insecureAPI.mkstemp -Xclang -analyzer-checker -Xclang security.insecureAPI.mktemp -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.rand -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.strcpy -Xclang -analyzer-checker -Xclang security.insecureAPI.vfork -I/Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/RCTVibration.hmap -I/Users/geverding/sandbox/github/cabin/iOS/build/Build/Products/Debug-iphonesimulator/include -I/Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/DerivedSources/x86_64 -I/Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/DerivedSources -Werror -Wall -F/Users/geverding/sandbox/github/cabin/iOS/build/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF /Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/StaticAnalyzer/RCTVibration/RCTVibration/normal/x86_64/RCTVibration.d --analyze /Users/geverding/sandbox/github/cabin/node_modules/react-native/Libraries/Vibration/RCTVibration.m -o /Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/StaticAnalyzer/RCTVibration/RCTVibration/normal/x86_64/RCTVibration.plist
In file included from /Users/geverding/sandbox/github/cabin/node_modules/react-native/Libraries/Vibration/RCTVibration.m:10:
/Users/geverding/sandbox/github/cabin/node_modules/react-native/Libraries/Vibration/RCTVibration.h:10:9: fatal error: 'React/RCTBridgeModule.h' file not found
#import <React/RCTBridgeModule.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~


CompileC /Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/Objects-normal/x86_64/RCTVibration.o RCTVibration.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/geverding/sandbox/github/cabin/node_modules/react-native/Libraries/Vibration
    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:/Users/geverding/.asdf/bin:/Users/geverding/.asdf/shims:/usr/local/opt/libxml2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/MacGPG2/bin:/Applications/Wireshark.app/Contents/MacOS:/usr/local/opt/openssl/bin:/Users/geverding/.google-cloud-sdk/bin:/Users/geverding/Library/Python/2.7/bin:/Users/geverding/software/android-ndk-r13b:/Users/geverding/.cabal/bin:/Users/geverding/sandbox/wemesh/golang/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Users/geverding/software/flutter/bin:/Users/geverding/.asdf/bin:/Users/geverding/.asdf/shims:/usr/local/opt/libxml2/bin:/usr/local/opt/fzf/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/geverding/sandbox/github/cabin/iOS/build/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/geverding/sandbox/github/cabin/iOS/build/ModuleCache.noindex/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 -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 -Wimplicit-retain-self -Wduplicate-method-match -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-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/iPhoneSimulator11.4.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/geverding/sandbox/github/cabin/iOS/build/Index/DataStore -I/Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/RCTVibration.hmap -I/Users/geverding/sandbox/github/cabin/iOS/build/Build/Products/Debug-iphonesimulator/include -I/Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/DerivedSources/x86_64 -I/Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/DerivedSources -Werror -Wall -F/Users/geverding/sandbox/github/cabin/iOS/build/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF /Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/Objects-normal/x86_64/RCTVibration.d --serialize-diagnostics /Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/Objects-normal/x86_64/RCTVibration.dia -c /Users/geverding/sandbox/github/cabin/node_modules/react-native/Libraries/Vibration/RCTVibration.m -o /Users/geverding/sandbox/github/cabin/iOS/build/Build/Intermediates.noindex/RCTVibration.build/Debug-iphonesimulator/RCTVibration.build/Objects-normal/x86_64/RCTVibration.o
In file included from /Users/geverding/sandbox/github/cabin/node_modules/react-native/Libraries/Vibration/RCTVibration.m:10:
/Users/geverding/sandbox/github/cabin/node_modules/react-native/Libraries/Vibration/RCTVibration.h:10:9: fatal error: 'React/RCTBridgeModule.h' file not found
#import <React/RCTBridgeModule.h>

Trying to get setup to help fix a couple bugs I've run into using the app for the last year.

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

No branches or pull requests

1 participant