-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
Error building: 'React/RCTBridgeDelegate.h' file not found; 'React/RCTBridge.h' file not found #395
Comments
How did you install react native? |
I'm having the same issue. Project created with |
Having the same issue with Archiving 2018-04-25T10:13:15.9925050Z In file included from /Users/vsts/agent/2.131.0/work/1/s/node_modules/react-native-sentry/ios/RNSentryEventEmitter.m:9:
2018-04-25T10:13:15.9968800Z In file included from /Users/vsts/agent/2.131.0/work/1/s/node_modules/react-native-sentry/ios/RNSentryEventEmitter.h:4:
2018-04-25T10:13:16.0012480Z /Users/vsts/agent/2.131.0/work/1/s/node_modules/react-native/React/Modules/RCTEventEmitter.h:10:9: fatal error: 'React/RCTBridge.h' file not found
2018-04-25T10:13:16.0043110Z #import <React/RCTBridge.h>
2018-04-25T10:13:16.0059570Z ^~~~~~~~~~~~~~~~~~~
2018-04-25T10:13:16.0076290Z 1 error generated.
2018-04-25T10:13:16.0084960Z
2018-04-25T10:13:16.0121480Z CompileC /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/Objects-normal/armv7/SentryReactNative-dummy.o Target\ Support\ Files/SentryReactNative/SentryReactNative-dummy.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
2018-04-25T10:13:16.0157910Z cd /Users/vsts/agent/2.131.0/work/1/s/ios/Pods
2018-04-25T10:13:16.0186460Z export LANG=en_US.US-ASCII
2018-04-25T10:13:16.0236040Z export PATH="/Applications/Xcode_9.3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode_9.3.app/Contents/Developer/usr/bin:/Library/Frameworks/Mono.framework/Versions/4/bin:/usr/local/bin:/usr/local/sbin:/Users/vsts/bin:/Users/vsts/.yarn/bin:/usr/local/go/bin:/Users/vsts/Library/Android/sdk/tools:/Users/vsts/Library/Android/sdk/platform-tools:/Users/vsts/Library/Android/sdk/ndk-bundle:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/vsts/.azcopy"
2018-04-25T10:13:16.0382670Z /Applications/Xcode_9.3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu11 -fobjc-arc -fobjc-weak -fmodules -fmodules-cache-path=/Users/vsts/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/vsts/Library/Developer/Xcode/DerivedData/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 -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -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 -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 -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DPOD_CONFIGURATION_RELEASE=1 -DCOCOAPODS=1 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode_9.3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=8.0 -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wunguarded-availability -fembed-bitcode -iquote /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/SentryReactNative-generated-files.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/SentryReactNative-own-target-headers.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/SentryReactNative-all-target-headers.hmap -iquote /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/SentryReactNative-project-headers.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/BuildProductsPath/Release-iphoneos/SentryReactNative/include -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Private -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Private/SentryReactNative -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Public -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Public/KSCrash -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Public/Sentry -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Public/SentryReactNative -I/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/DerivedSources/armv7 -I/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/DerivedSources -F/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/BuildProductsPath/Release-iphoneos/SentryReactNative -include /Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Target\ Support\ Files/SentryReactNative/SentryReactNative-prefix.pch -MMD -MT dependencies -MF /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/Objects-normal/armv7/SentryReactNative-dummy.d --serialize-diagnostics /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/Objects-normal/armv7/SentryReactNative-dummy.dia -c /Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Target\ Support\ Files/SentryReactNative/SentryReactNative-dummy.m -o /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/Objects-normal/armv7/SentryReactNative-dummy.o
2018-04-25T10:13:16.0499030Z
2018-04-25T10:13:16.0535470Z CompileC /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/Objects-normal/arm64/RNSentry.o /Users/vsts/agent/2.131.0/work/1/s/node_modules/react-native-sentry/ios/RNSentry.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
2018-04-25T10:13:16.0571360Z cd /Users/vsts/agent/2.131.0/work/1/s/ios/Pods
2018-04-25T10:13:16.0599880Z export LANG=en_US.US-ASCII
2018-04-25T10:13:16.0649230Z export PATH="/Applications/Xcode_9.3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode_9.3.app/Contents/Developer/usr/bin:/Library/Frameworks/Mono.framework/Versions/4/bin:/usr/local/bin:/usr/local/sbin:/Users/vsts/bin:/Users/vsts/.yarn/bin:/usr/local/go/bin:/Users/vsts/Library/Android/sdk/tools:/Users/vsts/Library/Android/sdk/platform-tools:/Users/vsts/Library/Android/sdk/ndk-bundle:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/vsts/.azcopy"
2018-04-25T10:13:16.0808220Z /Applications/Xcode_9.3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu11 -fobjc-arc -fobjc-weak -fmodules -fmodules-cache-path=/Users/vsts/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/vsts/Library/Developer/Xcode/DerivedData/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 -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -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 -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 -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DPOD_CONFIGURATION_RELEASE=1 -DCOCOAPODS=1 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode_9.3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=8.0 -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wunguarded-availability -fembed-bitcode -iquote /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/SentryReactNative-generated-files.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/SentryReactNative-own-target-headers.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/SentryReactNative-all-target-headers.hmap -iquote /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/SentryReactNative-project-headers.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/BuildProductsPath/Release-iphoneos/SentryReactNative/include -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Private -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Private/SentryReactNative -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Public -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Public/KSCrash -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Public/Sentry -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Public/SentryReactNative -I/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/DerivedSources/arm64 -I/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/DerivedSources -F/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/BuildProductsPath/Release-iphoneos/SentryReactNative -include /Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Target\ Support\ Files/SentryReactNative/SentryReactNative-prefix.pch -MMD -MT dependencies -MF /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/Objects-normal/arm64/RNSentry.d --serialize-diagnostics /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/Objects-normal/arm64/RNSentry.dia -c /Users/vsts/agent/2.131.0/work/1/s/node_modules/react-native-sentry/ios/RNSentry.m -o /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/Objects-normal/arm64/RNSentry.o
2018-04-25T10:13:16.0941130Z In file included from /Users/vsts/agent/2.131.0/work/1/s/node_modules/react-native-sentry/ios/RNSentry.m:1:
2018-04-25T10:13:16.0984300Z In file included from /Users/vsts/agent/2.131.0/work/1/s/node_modules/react-native-sentry/ios/RNSentry.h:4:
2018-04-25T10:13:16.1028070Z /Users/vsts/agent/2.131.0/work/1/s/node_modules/react-native/React/Base/RCTBridge.h:12:9: fatal error: 'React/RCTBridgeDelegate.h' file not found
2018-04-25T10:13:16.1058350Z #import <React/RCTBridgeDelegate.h>
2018-04-25T10:13:16.1075110Z ^~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-04-25T10:13:16.1087250Z
2018-04-25T10:13:16.1124400Z CompileC /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/Objects-normal/arm64/RNSentryEventEmitter.o /Users/vsts/agent/2.131.0/work/1/s/node_modules/react-native-sentry/ios/RNSentryEventEmitter.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
2018-04-25T10:13:16.1163220Z cd /Users/vsts/agent/2.131.0/work/1/s/ios/Pods
2018-04-25T10:13:16.1194070Z export LANG=en_US.US-ASCII
2018-04-25T10:13:16.1250550Z export PATH="/Applications/Xcode_9.3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode_9.3.app/Contents/Developer/usr/bin:/Library/Frameworks/Mono.framework/Versions/4/bin:/usr/local/bin:/usr/local/sbin:/Users/vsts/bin:/Users/vsts/.yarn/bin:/usr/local/go/bin:/Users/vsts/Library/Android/sdk/tools:/Users/vsts/Library/Android/sdk/platform-tools:/Users/vsts/Library/Android/sdk/ndk-bundle:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/vsts/.azcopy"
2018-04-25T10:13:16.1405730Z /Applications/Xcode_9.3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu11 -fobjc-arc -fobjc-weak -fmodules -fmodules-cache-path=/Users/vsts/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/vsts/Library/Developer/Xcode/DerivedData/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 -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -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 -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 -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DPOD_CONFIGURATION_RELEASE=1 -DCOCOAPODS=1 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode_9.3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=8.0 -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wunguarded-availability -fembed-bitcode -iquote /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/SentryReactNative-generated-files.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/SentryReactNative-own-target-headers.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/SentryReactNative-all-target-headers.hmap -iquote /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/SentryReactNative-project-headers.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/BuildProductsPath/Release-iphoneos/SentryReactNative/include -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Private -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Private/SentryReactNative -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Public -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Public/KSCrash -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Public/Sentry -I/Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Headers/Public/SentryReactNative -I/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/DerivedSources/arm64 -I/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/DerivedSources -F/Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/BuildProductsPath/Release-iphoneos/SentryReactNative -include /Users/vsts/agent/2.131.0/work/1/s/ios/Pods/Target\ Support\ Files/SentryReactNative/SentryReactNative-prefix.pch -MMD -MT dependencies -MF /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/Objects-normal/arm64/RNSentryEventEmitter.d --serialize-diagnostics /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/Objects-normal/arm64/RNSentryEventEmitter.dia -c /Users/vsts/agent/2.131.0/work/1/s/node_modules/react-native-sentry/ios/RNSentryEventEmitter.m -o /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/Objects-normal/arm64/RNSentryEventEmitter.o
2018-04-25T10:13:16.1527640Z
2018-04-25T10:13:16.1545430Z ** ARCHIVE FAILED **
2018-04-25T10:13:16.1554430Z
2018-04-25T10:13:16.1563330Z
2018-04-25T10:13:16.1583060Z The following build commands failed:
2018-04-25T10:13:16.1624930Z CompileC /Users/vsts/Library/Developer/Xcode/DerivedData/driverapp-eqvpwlxmlqvfdsfwdnithqfdnqoa/Build/Intermediates.noindex/ArchiveIntermediates/App\ Driver/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SentryReactNative.build/Objects-normal/armv7/RNSentryEventEmitter.o /Users/vsts/agent/2.131.0/work/1/s/node_modules/react-native-sentry/ios/RNSentryEventEmitter.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler |
Can you all do a |
Try this => #344 (comment) |
Issue was introduced with merging #382 A. Re add "React" as a dependency |
Hi, ^^ this is unfortunate. I tried to upgrade react native and now I'm kind of stuck because of this. @HazAT is removing React from dependency really necessary? |
How does your Podfile look like? |
@hccoelho You can change the Podspec file in '../node_modules/react-native-onesignal' and add react, I will try if adding a subspec can fix the problem in the podfile btw. Maybe something like that could work in this case.
|
I'm hitting the same error, and that was after I upgraded cocoapods from 1.4.0 to 1.5.0. Solution: downgrade it. (as seen on: ocetnik/react-native-background-timer#82 (comment)) Not sure if the culprit falls more on cocoapods messing up (deleting) HEADER_SEARCH_PATHS in Downgrading cocoapods works for me as a workaround, but obviously not a real fix moving forward. |
I also have this issue after Cocoapods upgrade from 1.4.0 to 1.5.0 (so I downgraded it back to 1.4.0) |
@macs03 that worked for me thanks! Was an issue from using Cocoapods and missing some steps. Posting the comment here from @amsul: Got it working! For anyone reading this, these are the steps I took:
|
I managed to get my build to work with cococapods v1.5.2 by modifying the podspec. I added this to the list of dependencies in the podspec: # ... rest of react-native-sentry podspec
s.dependency 'React/Core'
s.dependency 'Sentry', '~> 3.12.0'
s.dependency 'Sentry/KSCrash', '~> 3.12.0' |
Hey, so I reverted the change, |
Fix confirmed, with cocoapods 1.5.2 |
I will close this for now, please post again if you are still having troubles. |
@lachiet your solution solve my issues, |
In general, my experience with RN and podfiles is to not point to node_modules. It always seems to have one issue or another. Instead, as @lachiet quoted, linking the library manually always works. I would hope that this project gets updated to not rely on the podfile pointing to node_modules (as other RN packages do ex: https://github.com/rt2zz/react-native-contacts, https://github.com/davodesign84/react-native-mixpanel) |
I had this problem and it went away by disabling parallelize build in your scheme settings. |
This solution works for me. Run those commands in the workspace directory of your applications. |
FYI if you are still facing this issue after you successfully initialize a new project using react-native init, open Terminal, go to your project ios director, run pod install and then open the workspace project. It should build successfully. |
running |
Thank you @najielchemaly & @AlberErre |
I tried the steps above ( I finally checked my podfile and it looks like one of the lines (36 to be exact) that was supposed to be commented was commented out (that’s the way the file gets installed from react-native cli). Once I commented it , i ran the commands above and it worked. I am using react-native init Error:
|
Adding the following line to the
|
Thank you @najielchemaly |
Thanks, Work for me |
This is worked for me. 👍 |
if error persists,
|
I had to change |
thank you very much, I finally got it working |
Thank you so much!!! I tried many times for pod install or pod upload, but they did not work. |
thank you |
@wanxchao Did it work for you? |
After upgrading the react-native it shows the above error any one have any solution |
I'm facing the same problem |
Hello, having the same issue. However, even though it says build failed I can still work on my app. |
here is what I did to fix this issue:
|
This solution was solved my problem |
OS:
Platform:
Output of
node -v && npm -v && npm ls --prod --depth=0
Config:
I have following issue:
During 'react-native run-ios', my project can't compile.
Description goes here ...
Steps to reproduce:
Actual result:
Expected result:
it's strange that even when I have this error, my app runs in the simulater successfully.
The text was updated successfully, but these errors were encountered: