react-native-vision-camera icon indicating copy to clipboard operation
react-native-vision-camera copied to clipboard

🔧 Build failed on IOS - VisionCamera.modulemap not found

Open MohamedShawkyBayoumi opened this issue 7 months ago • 2 comments

How were you trying to build the app?

I tried ti build my app using npx react-native run-ios, and it failed

for your information also

I have installed a new app for testing like Example and I have just installed the react-native-vision-camera package then I run pod install and I encountered the same issue!!

Full build logs

npx react-native run-ios                                                                                                                         ✔  10490  10:51:22
info Found Xcode workspace "MyApp.xcworkspace"
info Found booted iPhone 8
info Launching iPhone 8
info Building (using "xcodebuild -workspace MyApp.xcworkspace -configuration Debug -scheme MyApp -destination id=0DD9887E-80C1-43D7-B254-CA04493FEC95")

info 💡 Tip: Make sure that you have set up your development environment correctly, by running react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor

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 MyApp.xcworkspace.
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace MyApp.xcworkspace -configuration Debug -scheme MyApp -destination id=0DD9887E-80C1-43D7-B254-CA04493FEC95

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

note: Using new build system
note: Planning
Analyze workspace

Create build description
Build description signature: a9302422d2795a882e1449381c8ad517
Build description path: /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/XCBuildData/a9302422d2795a882e1449381c8ad517-desc.xcbuild

note: Build preparation complete
note: Building targets in dependency order
ProcessProductPackaging "" /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp.app.xcent (in target 'MyApp' from project 'MyApp')
    cd /Users/hassan/practice/MyApp/ios

    Entitlements:

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

    builtin-productPackagingUtility -entitlements -format xml -o /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp.app.xcent

ProcessProductPackaging "" /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp.app-Simulated.xcent (in target 'MyApp' from project 'MyApp')
    cd /Users/hassan/practice/MyApp/ios

    Entitlements:

    {
    "application-identifier" = "G8AZ53THAQ.org.reactjs.native.example.MyApp";
}

    builtin-productPackagingUtility -entitlements -format xml -o /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp.app-Simulated.xcent

PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Script-F149B70960878098D4A76ED9.sh (in target 'MyApp' from project 'MyApp')
    cd /Users/hassan/practice/MyApp/ios
    /bin/sh -c /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Script-F149B70960878098D4A76ED9.sh

PhaseScriptExecution Start\ Packager /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Script-FD10A7F022414F080027D42C.sh (in target 'MyApp' from project 'MyApp')
    cd /Users/hassan/practice/MyApp/ios
    /bin/sh -c /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Script-FD10A7F022414F080027D42C.sh
Connection to localhost port 8081 [tcp/sunproxyadmin] succeeded!

CompileC /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/MyApp_vers.o /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/DerivedSources/MyApp_vers.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'MyApp' from project 'MyApp')
    cd /Users/hassan/practice/MyApp/ios
    export LANG\=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target arm64-apple-ios12.4-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu99 -fmodules -gmodules -fmodules-cache-path\=/Users/hassan/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/hassan/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 -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 -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION -DCOCOAPODS\=1 -DFB_SONARKIT_ENABLED\=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Index/DataStore -iquote /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp-generated-files.hmap -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp-own-target-headers.hmap -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp-all-target-headers.hmap -iquote /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp-project-headers.hmap -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/include -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/AppAuth -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/BVLinearGradient -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/CocoaAsyncSocket -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/DoubleConversion -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/FBLazyVector -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/Flipper -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/Flipper-Fmt -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/Flipper-Folly -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/Flipper-PeerTalk -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/FlipperKit -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/GTMAppAuth -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/GTMSessionFetcher -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/GoogleSignIn -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RCT-Folly -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RCTRequired -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RCTTypeSafety -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNAppleAuthentication -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNGoogleSignin -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNReanimated -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNSVG -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNScreens -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNStaticSafeAreaInsets -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-Codegen -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-Core -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-NativeModulesApple -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-RCTAnimation -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-RCTAppDelegate -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-RCTBlob -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-RCTText -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-callinvoker -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-cxxreact -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-debug -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-hermes -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-jsi -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-jsiexecutor -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-jsinspector -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-logger -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-perflogger -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-runtimeexecutor -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-runtimescheduler -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-utils -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/ReactCommon -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/SocketRocket -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/VisionCamera -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/Yoga -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/YogaKit -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/fmt -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/glog -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/hermes-engine -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/libevent -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/react-native-pager-view -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/react-native-safe-area-context -I/Users/hassan/practice/MyApp/ios/Pods/DoubleConversion -I/Users/hassan/practice/MyApp/ios/Pods/boost -I/Users/hassan/practice/MyApp/ios/Pods/boost -I/Users/hassan/practice/MyApp/ios/Pods/boost-for-react-native -I/Users/hassan/practice/MyApp/ios/Pods/glog -I/Users/hassan/practice/MyApp/ios/Pods/RCT-Folly -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-hermes -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/hermes-engine -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Private/React-Core -I/include -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/DerivedSources-normal/arm64 -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/DerivedSources/arm64 -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/DerivedSources -F/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator -F/Users/hassan/practice/MyApp/ios/Pods/Flipper-DoubleConversion/Frameworks -F/Users/hassan/practice/MyApp/ios/Pods/Flipper-Glog/Frameworks -F/Users/hassan/practice/MyApp/ios/Pods/OpenSSL-Universal/Frameworks -F/Users/hassan/practice/MyApp/ios/Pods/hermes-engine/destroot/Library/Frameworks/universal -F/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/Flipper-DoubleConversion -F/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/Flipper-Glog -F/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OpenSSL-Universal -F/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/hermes-engine/Pre-built -fmodule-map-file\=/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/VisionCamera/VisionCamera.modulemap -fmodule-map-file\=/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/FlipperKit/FlipperKit.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/GoogleSignIn/GoogleSignIn.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RCTTypeSafety/RCTTypeSafety.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React/React-Core.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/ReactCommon/ReactCommon.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React_Codegen/React-Codegen.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React_NativeModulesApple/React-NativeModulesApple.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/folly/RCT-Folly.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/yoga/Yoga.modulemap -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DRNVERSION\=72 -MMD -MT dependencies -MF /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/MyApp_vers.d --serialize-diagnostics /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/MyApp_vers.dia -c /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/DerivedSources/MyApp_vers.c -o /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/MyApp_vers.o -index-unit-output-path /MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/MyApp_vers.o
fatal error: module map file '/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/VisionCamera/VisionCamera.modulemap' not found
1 error generated.

CompileC /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/AppDelegate.o /Users/hassan/practice/MyApp/ios/MyApp/AppDelegate.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'MyApp' from project 'MyApp')
    cd /Users/hassan/practice/MyApp/ios
    export LANG\=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -target arm64-apple-ios12.4-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c++14 -stdlib\=libc++ -fobjc-arc -fmodules -gmodules -fmodules-cache-path\=/Users/hassan/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/hassan/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 -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -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 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -Wno-c++11-extensions -DDEBUG\=1 -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION -DCOCOAPODS\=1 -DFB_SONARKIT_ENABLED\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility-inlines-hidden -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -fobjc-abi-version\=2 -fobjc-legacy-dispatch -index-store-path /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Index/DataStore -iquote /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp-generated-files.hmap -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp-own-target-headers.hmap -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp-all-target-headers.hmap -iquote /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp-project-headers.hmap -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/include -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/AppAuth -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/BVLinearGradient -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/CocoaAsyncSocket -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/DoubleConversion -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/FBLazyVector -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/Flipper -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/Flipper-Fmt -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/Flipper-Folly -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/Flipper-PeerTalk -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/FlipperKit -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/GTMAppAuth -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/GTMSessionFetcher -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/GoogleSignIn -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RCT-Folly -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RCTRequired -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RCTTypeSafety -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNAppleAuthentication -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNGoogleSignin -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNReanimated -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNSVG -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNScreens -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNStaticSafeAreaInsets -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-Codegen -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-Core -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-NativeModulesApple -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-RCTAnimation -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-RCTAppDelegate -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-RCTBlob -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-RCTText -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-callinvoker -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-cxxreact -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-debug -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-hermes -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-jsi -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-jsiexecutor -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-jsinspector -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-logger -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-perflogger -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-runtimeexecutor -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-runtimescheduler -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-utils -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/ReactCommon -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/SocketRocket -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/VisionCamera -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/Yoga -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/YogaKit -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/fmt -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/glog -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/hermes-engine -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/libevent -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/react-native-pager-view -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/react-native-safe-area-context -I/Users/hassan/practice/MyApp/ios/Pods/DoubleConversion -I/Users/hassan/practice/MyApp/ios/Pods/boost -I/Users/hassan/practice/MyApp/ios/Pods/boost -I/Users/hassan/practice/MyApp/ios/Pods/boost-for-react-native -I/Users/hassan/practice/MyApp/ios/Pods/glog -I/Users/hassan/practice/MyApp/ios/Pods/RCT-Folly -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-hermes -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/hermes-engine -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Private/React-Core -I/include -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/DerivedSources-normal/arm64 -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/DerivedSources/arm64 -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/DerivedSources -F/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator -F/Users/hassan/practice/MyApp/ios/Pods/Flipper-DoubleConversion/Frameworks -F/Users/hassan/practice/MyApp/ios/Pods/Flipper-Glog/Frameworks -F/Users/hassan/practice/MyApp/ios/Pods/OpenSSL-Universal/Frameworks -F/Users/hassan/practice/MyApp/ios/Pods/hermes-engine/destroot/Library/Frameworks/universal -F/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/Flipper-DoubleConversion -F/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/Flipper-Glog -F/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OpenSSL-Universal -F/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/hermes-engine/Pre-built -fmodule-map-file\=/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/VisionCamera/VisionCamera.modulemap -fmodule-map-file\=/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/FlipperKit/FlipperKit.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/GoogleSignIn/GoogleSignIn.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RCTTypeSafety/RCTTypeSafety.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React/React-Core.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/ReactCommon/ReactCommon.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React_Codegen/React-Codegen.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React_NativeModulesApple/React-NativeModulesApple.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/folly/RCT-Folly.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/yoga/Yoga.modulemap -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DRNVERSION\=72 -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -MMD -MT dependencies -MF /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/AppDelegate.d --serialize-diagnostics /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/AppDelegate.dia -c /Users/hassan/practice/MyApp/ios/MyApp/AppDelegate.mm -o /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/AppDelegate.o -index-unit-output-path /MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/AppDelegate.o
fatal error: module map file '/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/VisionCamera/VisionCamera.modulemap' not found
/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/AppDelegate.dia:1:1: warning: Could not read serialized diagnostics file: error("Failed to open diagnostics file") (in target 'MyApp' from project 'MyApp')

CompileC /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/main.o /Users/hassan/practice/MyApp/ios/MyApp/main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'MyApp' from project 'MyApp')
    cd /Users/hassan/practice/MyApp/ios
    export LANG\=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target arm64-apple-ios12.4-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path\=/Users/hassan/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/hassan/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 -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION -DCOCOAPODS\=1 -DFB_SONARKIT_ENABLED\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk -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/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Index/DataStore -iquote /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp-generated-files.hmap -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp-own-target-headers.hmap -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp-all-target-headers.hmap -iquote /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp-project-headers.hmap -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/include -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/AppAuth -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/BVLinearGradient -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/CocoaAsyncSocket -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/DoubleConversion -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/FBLazyVector -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/Flipper -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/Flipper-Fmt -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/Flipper-Folly -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/Flipper-PeerTalk -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/FlipperKit -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/GTMAppAuth -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/GTMSessionFetcher -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/GoogleSignIn -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RCT-Folly -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RCTRequired -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RCTTypeSafety -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNAppleAuthentication -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNGoogleSignin -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNReanimated -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNSVG -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNScreens -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RNStaticSafeAreaInsets -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-Codegen -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-Core -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-NativeModulesApple -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-RCTAnimation -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-RCTAppDelegate -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-RCTBlob -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-RCTText -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-callinvoker -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-cxxreact -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-debug -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-hermes -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-jsi -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-jsiexecutor -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-jsinspector -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-logger -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-perflogger -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-runtimeexecutor -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-runtimescheduler -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-utils -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/ReactCommon -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/SocketRocket -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/VisionCamera -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/Yoga -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/YogaKit -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/fmt -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/glog -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/hermes-engine -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/libevent -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/react-native-pager-view -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/react-native-safe-area-context -I/Users/hassan/practice/MyApp/ios/Pods/DoubleConversion -I/Users/hassan/practice/MyApp/ios/Pods/boost -I/Users/hassan/practice/MyApp/ios/Pods/boost -I/Users/hassan/practice/MyApp/ios/Pods/boost-for-react-native -I/Users/hassan/practice/MyApp/ios/Pods/glog -I/Users/hassan/practice/MyApp/ios/Pods/RCT-Folly -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React-hermes -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/hermes-engine -I/Users/hassan/practice/MyApp/ios/Pods/Headers/Private/React-Core -I/include -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/DerivedSources-normal/arm64 -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/DerivedSources/arm64 -I/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/DerivedSources -F/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator -F/Users/hassan/practice/MyApp/ios/Pods/Flipper-DoubleConversion/Frameworks -F/Users/hassan/practice/MyApp/ios/Pods/Flipper-Glog/Frameworks -F/Users/hassan/practice/MyApp/ios/Pods/OpenSSL-Universal/Frameworks -F/Users/hassan/practice/MyApp/ios/Pods/hermes-engine/destroot/Library/Frameworks/universal -F/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/Flipper-DoubleConversion -F/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/Flipper-Glog -F/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OpenSSL-Universal -F/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/hermes-engine/Pre-built -fmodule-map-file\=/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/VisionCamera/VisionCamera.modulemap -fmodule-map-file\=/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/FlipperKit/FlipperKit.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/GoogleSignIn/GoogleSignIn.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/RCTTypeSafety/RCTTypeSafety.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React/React-Core.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/ReactCommon/ReactCommon.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React_Codegen/React-Codegen.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/React_NativeModulesApple/React-NativeModulesApple.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/folly/RCT-Folly.modulemap -fmodule-map-file\=/Users/hassan/practice/MyApp/ios/Pods/Headers/Public/yoga/Yoga.modulemap -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DRNVERSION\=72 -MMD -MT dependencies -MF /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/main.d --serialize-diagnostics /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/main.dia -c /Users/hassan/practice/MyApp/ios/MyApp/main.m -o /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/main.o -index-unit-output-path /MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/main.o
fatal error: module map file '/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/VisionCamera/VisionCamera.modulemap' not found
fatal error: module map file '/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/VisionCamera/VisionCamera.modulemap' not found
fatal error: module map file '/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/VisionCamera/VisionCamera.modulemap' not found
fatal error: module map file '/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Products/Debug-iphonesimulator/VisionCamera/VisionCamera.modulemap' not found
/Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/main.dia:1:1: warning: Could not read serialized diagnostics file: error("Failed to open diagnostics file") (in target 'MyApp' from project 'MyApp')


2023-11-11 10:51:31.239 xcodebuild[28543:1462384] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2023-11-11 10:51:31.239 xcodebuild[28543:1462384] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **


The following build commands failed:
	CompileC /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/MyApp_vers.o /Users/hassan/Library/Developer/Xcode/DerivedData/MyApp-crjsscxieqrcrsgtoxkvmnrbzdwc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/DerivedSources/MyApp_vers.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'MyApp' from project 'MyApp')
(1 failure)

Project dependencies

"dependencies": {
    "react-native": "0.72.6",
    "react-native-reanimated": "^2.13.0",
    "react-native-vision-camera": "^3.6.4"
  },

VisionCamera Version

3.6.3

Target platforms

iOS

Operating system

MacOS

Can you build the VisionCamera Example app?

No, I cannot build the Example app either

Additional information

MohamedShawkyBayoumi avatar Nov 11 '23 11:11 MohamedShawkyBayoumi

I had the same error but in a different situation when I upgraded from vision-camera 2 to 3. It was also looking for the VisionCamera.modulema, I checked and the file really did not exist and thus the build failed. It took me a day to realise that we had it in OTHER_CFLAGS as -fmodule-map-file=\"${PODS_CONFIGURATION_BUILD_DIR}/VisionCamera/VisionCamera.modulemap\" (I don't know at which point it got there...). Removing this cflag fixed the issue and I was able to build the app in iOS. Maybe you can check if you have something similar in your pods build settings?

Regina-v avatar Nov 14 '23 13:11 Regina-v

I had the same error but in a different situation when I upgraded from vision-camera 2 to 3. It was also looking for the VisionCamera.modulema, I checked and the file really did not exist and thus the build failed. It took me a day to realise that we had it in OTHER_CFLAGS as -fmodule-map-file=\"${PODS_CONFIGURATION_BUILD_DIR}/VisionCamera/VisionCamera.modulemap\" (I don't know at which point it got there...). Removing this cflag fixed the issue and I was able to build the app in iOS. Maybe you can check if you have something similar in your pods build settings?

Same for me, but I remove the workaround config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" in podfile

pnthach95 avatar Nov 16 '23 03:11 pnthach95

I think this is not related to VisionCamera as it builds fine for me in a new blank RN project

mrousavy avatar Jan 15 '24 13:01 mrousavy