react-native-maps: iOS build fails with error code 65

Is this a bug report?

No.

Have you read the Installation Instructions?

Yes

Environment

"react": "16.8.3",
"react-native": "0.59.8",
"react-native-maps": "^0.24.2"

macOs: 10.14.4 xCode: 10.2.1

Steps to Reproduce

  1. react-native init MapTest
  2. make Podfile inside ios folder and fill data from this instruction
  3. run pod install
  4. update AppDelegate.m by instruction
  5. run pod install
  6. run react-native run-ios

Expected Behavior

Run application

Actual Behavior

Returns this error

1 error generated.

WriteAuxiliaryFile /Users/mikhail/Projects/MapTest/node_modules/react-native/Libraries/Blob/build/RCTBlob.build/Debug-iphonesimulator/RCTBlob.build/Objects-normal/x86_64/RCTBlob.LinkFileList (in target: RCTBlob)
    cd /Users/mikhail/Projects/MapTest/node_modules/react-native/Libraries/Blob
    write-file /Users/mikhail/Projects/MapTest/node_modules/react-native/Libraries/Blob/build/RCTBlob.build/Debug-iphonesimulator/RCTBlob.build/Objects-normal/x86_64/RCTBlob.LinkFileList


error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening MapTest.xcworkspace

** BUILD FAILED **


The following commands produced analyzer issues:
	Analyze /Users/mikhail/Projects/MapTest/node_modules/react-native/ReactCommon/jsi/jsi.cpp normal x86_64
	Analyze /Users/mikhail/Projects/MapTest/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp normal x86_64
	Analyze /Users/mikhail/Projects/MapTest/node_modules/react-native/React/Base/RCTModuleMethod.mm normal x86_64
(3 commands with analyzer issues)

The following build commands failed:
	CompileC /Users/mikhail/Projects/MapTest/node_modules/react-native/Libraries/Blob/build/RCTBlob.build/Debug-iphonesimulator/RCTBlob.build/Objects-normal/x86_64/RCTFileReaderModule.o /Users/mikhail/Projects/MapTest/node_modules/react-native/Libraries/Blob/RCTFileReaderModule.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
. Run CLI with --verbose flag for more details.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 28

Most upvoted comments

If you don’t have cocoapods installed you need to sudo gem install cocoapods

  1. cd /ios
  2. run pod install
  3. cd …
  4. delete build folder
  5. run react-native run-ios

if error persists,

  1. delete build folder again
  2. open the /ios folder in x-code
  3. navigate File -> Project Settings -> Build System -> change (Shared workspace settings and Per-User workspace settings): Build System -> Legacy Build System

I don’t t have any other idea than this one:

  • use the git master version of the react-native-maps
  • delete the Pods folder
  • cd ios && pod repo update && pod install && pod update

😐

I fixed the error 65 in this way:

In Xcode: 1) Go to File -> Workspace Settings, and change the Build System to ‘Legacy Build System’; 2) Go to Product -> Clean, (wait Clean finish). 3) Go to React Native app root folder, and run ‘react-native run-ios’

(References are based on a Mac environment)

@durdevic stupid question, did you run react-native link react-native-maps ?

same question

image


qrcode_reader_app git:(master) react-native run-ios
info Found Xcode project "qrcode_reader_app.xcodeproj"
info Building (using "xcodebuild -project qrcode_reader_app.xcodeproj -configuration Debug -scheme qrcode_reader_app -destination id=7DC2656F-BC03-4989-9E1E-DBCD9D42EB97 -derivedDataPath build/qrcode_reader_app")
...........................................
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening qrcode_reader_app.xcodeproj. Run CLI with --verbose flag for more details.
User defaults from command line:
    IDEDerivedDataPathOverride = /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app

note: Using new build system
note: Planning build
note: Constructing build description
Build system information
warning: Capabilities for qrcode_reader_app may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the build settings editor. (in target 'qrcode_reader_app')

CreateBuildDirectory /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex (in target: qrcode_reader_appTests)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    builtin-create-build-directory /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex

CreateBuildDirectory /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Products (in target: qrcode_reader_appTests)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    builtin-create-build-directory /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Products

MkDir /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Products/Debug-iphonesimulator/qrcode_reader_app.app (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    /bin/mkdir -p /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Products/Debug-iphonesimulator/qrcode_reader_app.app

WriteAuxiliaryFile /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources/Entitlements.plist (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    write-file /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources/Entitlements.plist

WriteAuxiliaryFile /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources/Entitlements-Simulated.plist (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    write-file /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources/Entitlements-Simulated.plist

ProcessProductPackaging "" /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app.app.xcent (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    

Entitlements:

{
    "com.apple.security.get-task-allow" = 1;
}


    builtin-productPackagingUtility -entitlements -format xml -o /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app.app.xcent

ProcessProductPackaging "" /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app.app-Simulated.xcent (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    

Entitlements:

{
    "application-identifier" = "FAKETEAMID.org.reactjs.native.example.qrcode-reader-app";
    "keychain-access-groups" =     (
        "FAKETEAMID.org.reactjs.native.example.qrcode-reader-app"
    );
}


    builtin-productPackagingUtility -entitlements -format xml -o /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app.app-Simulated.xcent

WriteAuxiliaryFile /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-project-headers.hmap (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    write-file /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-project-headers.hmap

WriteAuxiliaryFile /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-own-target-headers.hmap (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    write-file /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-own-target-headers.hmap

WriteAuxiliaryFile /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app.hmap (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    write-file /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app.hmap

WriteAuxiliaryFile /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-generated-files.hmap (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    write-file /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-generated-files.hmap

WriteAuxiliaryFile /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-all-target-headers.hmap (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    write-file /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-all-target-headers.hmap

WriteAuxiliaryFile /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-all-non-framework-target-headers.hmap (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    write-file /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-all-non-framework-target-headers.hmap

WriteAuxiliaryFile /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/all-product-headers.yaml (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    write-file /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/all-product-headers.yaml

WriteAuxiliaryFile /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Script-FD10A7F022414F080027D42C.sh (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    write-file /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Script-FD10A7F022414F080027D42C.sh

PhaseScriptExecution Start\ Packager /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Script-FD10A7F022414F080027D42C.sh (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    /bin/sh -c /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Script-FD10A7F022414F080027D42C.sh
Connection to localhost port 8081 [tcp/sunproxyadmin] succeeded!

WriteAuxiliaryFile /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources/qrcode_reader_app_vers.c (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    write-file /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources/qrcode_reader_app_vers.c

WriteAuxiliaryFile /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Objects-normal/x86_64/qrcode_reader_app.LinkFileList (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    write-file /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Objects-normal/x86_64/qrcode_reader_app.LinkFileList

CompileC /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Objects-normal/x86_64/main.o /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/qrcode_reader_app/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    export LANG=en_US.US-ASCII
    /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 -gmodules -fmodules-cache-path=/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/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 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -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 -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=9.0 -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Index/DataStore -iquote /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-generated-files.hmap -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-own-target-headers.hmap -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-all-target-headers.hmap -iquote /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-project-headers.hmap -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Products/Debug-iphonesimulator/include -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources-normal/x86_64 -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources/x86_64 -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources -F/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Objects-normal/x86_64/main.dia -c /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/qrcode_reader_app/main.m -o /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Objects-normal/x86_64/main.o
In file included from /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/qrcode_reader_app/main.m:10:
/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/qrcode_reader_app/AppDelegate.h:8:9: 
fatal error: 'React/RCTBridgeDelegate.h' file not found
#import <React/RCTBridgeDelegate.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

CompileC /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Objects-normal/x86_64/AppDelegate.o /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/qrcode_reader_app/AppDelegate.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    export LANG=en_US.US-ASCII
    /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 -gmodules -fmodules-cache-path=/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/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 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -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 -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=9.0 -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Index/DataStore -iquote /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-generated-files.hmap -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-own-target-headers.hmap -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-all-target-headers.hmap -iquote /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-project-headers.hmap -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Products/Debug-iphonesimulator/include -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources-normal/x86_64 -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources/x86_64 -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources -F/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Objects-normal/x86_64/AppDelegate.d --serialize-diagnostics /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Objects-normal/x86_64/AppDelegate.dia -c /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/qrcode_reader_app/AppDelegate.m -o /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Objects-normal/x86_64/AppDelegate.o
In file included from /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/qrcode_reader_app/AppDelegate.m:8:
/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/qrcode_reader_app/AppDelegate.h:8:9: fatal error: 'React/RCTBridgeDelegate.h' file not found
#import <React/RCTBridgeDelegate.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~

CompileC /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Objects-normal/x86_64/qrcode_reader_app_vers.o /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources/qrcode_reader_app_vers.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler (in target: qrcode_reader_app)
    cd /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fmodules -gmodules -fmodules-cache-path=/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/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 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -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 -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mios-simulator-version-min=9.0 -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Index/DataStore -iquote /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-generated-files.hmap -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-own-target-headers.hmap -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-all-target-headers.hmap -iquote /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/qrcode_reader_app-project-headers.hmap -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Products/Debug-iphonesimulator/include -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources-normal/x86_64 -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources/x86_64 -I/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources -F/Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Objects-normal/x86_64/qrcode_reader_app_vers.d --serialize-diagnostics /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Objects-normal/x86_64/qrcode_reader_app_vers.dia -c /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/DerivedSources/qrcode_reader_app_vers.c -o /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Objects-normal/x86_64/qrcode_reader_app_vers.o


** BUILD FAILED **


The following build commands failed:
        CompileC /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/build/qrcode_reader_app/Build/Intermediates.noindex/qrcode_reader_app.build/Debug-iphonesimulator/qrcode_reader_app.build/Objects-normal/x86_64/main.o /Users/xgqfrms-mbp/Documents/GitHub/qrcode-reader-app/qrcode_reader_app/ios/qrcode_reader_app/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

➜  qrcode_reader_app git:(master) 

When I first built a clean project, it was successful, immediately after adding maps I get this error on both “New Build System” and “Legacy Build System”.

Funny enough I can’t build my last production version of the app that’s published on store. It must be the problem with XCode because I can’t build anything after the update.

Error code on Legacy Build

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening cleaaan.xcworkspace

** BUILD FAILED **


The following commands produced analyzer issues:
        Analyze /Users/uros/Desktop/clean/cleaaan/node_modules/react-native/ReactCommon/jsi/jsi.cpp normal x86_64
        Analyze /Users/uros/Desktop/clean/cleaaan/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp normal x86_64
        Analyze Base/RCTModuleMethod.mm normal x86_64
(3 commands with analyzer issues)

The following build commands failed:
        CompileC /Users/uros/Desktop/clean/cleaaan/ios/build/cleaaan/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-google-maps.build/Objects-normal/x86_64/AIRGoogleMap.o /Users/uros/Desktop/clean/cleaaan/node_modules/react-native-maps/lib/ios/AirGoogleMaps/AIRGoogleMap.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Error code on New Build

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening cleaaan.xcworkspace

** BUILD FAILED **


The following commands produced analyzer issues:
        Analyze /Users/uros/Desktop/clean/cleaaan/node_modules/react-native/ReactCommon/jsi/jsi.cpp normal x86_64
        Analyze /Users/uros/Desktop/clean/cleaaan/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp normal x86_64
        Analyze /Users/uros/Desktop/clean/cleaaan/node_modules/react-native/React/Base/RCTModuleMethod.mm normal x86_64
(3 commands with analyzer issues)

The following build commands failed:
        CompileC /Users/uros/Desktop/clean/cleaaan/ios/build/cleaaan/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-google-maps.build/Objects-normal/x86_64/AIRGoogleMap.o /Users/uros/Desktop/clean/cleaaan/node_modules/react-native-maps/lib/ios/AirGoogleMaps/AIRGoogleMap.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

xxxx-MacBook-Pro-2:SampleApp xxxxx$ react-native run-ios info Found Xcode project “SampleApp.xcodeproj” info Building (using “xcodebuild -project SampleApp.xcodeproj -configuration Debug -scheme SampleApp -destination id=BDB7A3CA-20F5-4C22-B29B-C6B50C36F802”) … error Failed to build iOS project. We ran “xcodebuild” command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening SampleApp.xcodeproj. Run CLI with --verbose flag for more details. Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project SampleApp.xcodeproj -configuration Debug -scheme SampleApp -destination id=BDB7A3CA-20F5-4C22-B29B-C6B50C36F802

note: Using new build system note: Building targets in parallel note: Planning build note: Using build description from disk PhaseScriptExecution Start\ Packager /Users/xxxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/Script-FD10A7F022414F080027D42C.sh (in target ‘SampleApp’ from project ‘SampleApp’) cd /Users/suthra/Desktop/react/SampleApp/ios /bin/sh -c /Users/xxxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/Script-FD10A7F022414F080027D42C.sh

CompileC /Users/xxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/Objects-normal/x86_64/main.o /Users/xxxx/Desktop/react/SampleApp/ios/SampleApp/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target ‘SampleApp’ from project ‘SampleApp’) cd /Users/xxxxx/Desktop/react/SampleApp/ios export LANG=en_US.US-ASCII /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios10.0-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/xxxx/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/xxxx/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 -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -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 -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/suthra/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Index/DataStore -iquote /Users/suthra/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/SampleApp-generated-files.hmap -I/Users/xxxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/SampleApp-own-target-headers.hmap -I/Users/xxxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/SampleApp-all-target-headers.hmap -iquote /Users/xxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/SampleApp-project-headers.hmap -I/Users/xxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Products/Debug-iphonesimulator/include -I/Users/suthra/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/DerivedSources-normal/x86_64 -I/Users/xxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/DerivedSources/x86_64 -I/Users/xxxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/DerivedSources -F/Users/xxxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF /Users/xxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/xxxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/Objects-normal/x86_64/main.dia -c /Users/xxxxx/Desktop/react/SampleApp/ios/SampleApp/main.m -o /Users/xxxxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/Objects-normal/x86_64/main.o In file included from /Users/suthra/Desktop/react/SampleApp/ios/SampleApp/main.m:3: /Users/suthra/Desktop/react/SampleApp/ios/SampleApp/AppDelegate.h:1:9: fatal error: ‘React/RCTBridgeDelegate.h’ file not found #import <React/RCTBridgeDelegate.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.

CompileC /Users/xxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/Objects-normal/x86_64/AppDelegate.o /Users/suthra/Desktop/react/SampleApp/ios/SampleApp/AppDelegate.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target ‘SampleApp’ from project ‘SampleApp’) cd /Users/xxxx/Desktop/react/SampleApp/ios export LANG=en_US.US-ASCII /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios10.0-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/xxxx/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/xxxx/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 -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -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 -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/xxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Index/DataStore -iquote /Users/suthra/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/SampleApp-generated-files.hmap -I/Users/xxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/SampleApp-own-target-headers.hmap -I/Users/xxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/SampleApp-all-target-headers.hmap -iquote /Users/xxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/SampleApp-project-headers.hmap -I/Users/suthra/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Products/Debug-iphonesimulator/include -I/Users/xxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/DerivedSources-normal/x86_64 -I/Users/xxxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/DerivedSources/x86_64 -I/Users/xxxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/DerivedSources -F/Users/suthra/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF /Users/xxxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/Objects-normal/x86_64/AppDelegate.d --serialize-diagnostics /Users/xxxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/Objects-normal/x86_64/AppDelegate.dia -c /Users/xxxx/Desktop/react/SampleApp/ios/SampleApp/AppDelegate.m -o /Users/xxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/Objects-normal/x86_64/AppDelegate.o In file included from /Users/xxxx/Desktop/react/SampleApp/ios/SampleApp/AppDelegate.m:1: /Users/suthra/Desktop/react/SampleApp/ios/SampleApp/AppDelegate.h:1:9: fatal error: ‘React/RCTBridgeDelegate.h’ file not found #import <React/RCTBridgeDelegate.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: Could not read serialized diagnostics file: Cannot Load File: Failed to open diagnostics file (in target ‘SampleApp’ from project ‘SampleApp’)

** BUILD FAILED **

The following build commands failed: CompileC /Users/xxxx/Library/Developer/Xcode/DerivedData/SampleApp-adshqmrqlnmgwzafnranhgtbyazh/Build/Intermediates.noindex/SampleApp.build/Debug-iphonesimulator/SampleApp.build/Objects-normal/x86_64/main.o /Users/suthra/Desktop/react/SampleApp/ios/SampleApp/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Screenshot 2020-09-03 at 12 06 31 AM

I’ve git the same issue. It appeared after I run “npm install react-devtools --save”. Mb it’s not connected, I have no idea, but I noticed a pattern.

To fix it I run:

  • watchman watch-del-all
  • rm -rf ios/build
  • rm -rf /tmp/metro-bundler-cache-*
  • rm -rf /tmp/haste-map-react-native-packager-*

This is not a react-native-maps issue. I had this just yesterday with another project not containing any map. The fix for me was to switch in Xcode the workspace settings to the new build system and back to legacy (I have a CI machine with an older Xcode)

I’ll close the issue now as it’s not related.