Open Yoram-Ben-Ami opened 8 months ago
I had error on IOS and Android and I managed to fix Android. I was missing some paths in my ./zshrc
file basically.
Open your terminal and check if the ANDROID_HOME is set:
echo $ANDROID_HOME
If it’s not set or incorrect, update your shell configuration file (e.g., .bashrc, .zshrc, or .bash_profile) by adding:
export ANDROID_HOME=~/Library/Android/sdk
export PATH=$ANDROID_HOME/emulator:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools:$PATH
Reload your shell configuration:
source ~/.zshrc
Open the file android/local.properties. Add or update the SDK path:
sdk.dir=/Users/YOUR_USERNAME/Library/Android/sdk
Replace YOUR_USERNAME with your macOS username.
List available emulators to confirm:
emulator -list-avds
I already had a 3 emulators and I copy pasted one of them. Launch the emulator:
emulator @Pixel_4_API_30
Clean and Rebuild After fixing the above issues:
Clean the Gradle build cache:
cd android
./gradlew clean
Rebuild the app:
yarn run android
⬆️ this worked for me on Mac M3 Sonoma 14.3
There is a comment in Podfile here that states about failure on IOS for React Native Flipper. You can follow instructions in Podfile (which I didn't follow) or instructions below. Disable Flipper for iOS Flipper is not strictly required unless you need advanced debugging tools. Disabling it simplifies the build process.
OR
Open the ios/Podfile
in your project.
Comment out or remove the Flipper setup:
# Comment out the line below
# flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
# Add this line here ⬇️ to disable flipper
flipper_config = FlipperConfiguration.disabled
This solves the problem for me.
There is a way to install Flipper for iOS, but that is a different topic.
Hi,
I wanted to try the application but I'm keep getting this error
`mma operator here [-Wcomma] [&](Tgt res) { return void(out = res), src; }); ^ /Users/yorambenami_1/Downloads/react-native-starter/ios/Pods/Headers/Public/Flipper-Folly/folly/Conv.h:1128:29: note: cast expression to void to silence warning [&](Tgt res) { return void(out = res), src; }); ^( )
~~~~~~ static_castwarning: Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'ReactNativeStarter' from project 'ReactNativeStarter')
--- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:iOS Simulator, id:5408684E-7562-4039-AD81-5EB598EC3298, OS:17.4, name:iPhone SE (3rd generation) } { platform:iOS Simulator, id:5408684E-7562-4039-AD81-5EB598EC3298, OS:17.4, name:iPhone SE (3rd generation) } BUILD FAILED
The following build commands failed: CompileC /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-cuoytwfivlczhyeatgletvywvzok/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FlipperKit.build/Objects-normal/arm64/FlipperPlatformWebSocket.o /Users/yorambenami_1/Downloads/react-native-starter/ios/Pods/FlipperKit/iOS/FlipperKit/FlipperPlatformWebSocket.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'FlipperKit' from project 'Pods') (1 failure)
`
and when I tried to fix it got another error
`error Failed to build iOS project. "xcodebuild" exited with error code '65'. To debug build logs further, consider building your app with Xcode.app, by opening 'ReactNativeStarter.xcworkspace'. Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace ReactNativeStarter.xcworkspace -configuration Debug -scheme ReactNativeStarter -destination id=5408684E-7562-4039-AD81-5EB598EC3298
User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES
Prepare packages
ComputeTargetDependencyGraph warning: Building targets in manual order is deprecated - choose Dependency Order in scheme settings instead, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current scheme to suppress this warning note: Target dependency graph (2 targets) Target 'ReactNativeStarterTests' in project 'ReactNativeStarter' ➜ Explicit dependency on target 'ReactNativeStarter' in project 'ReactNativeStarter' Target 'ReactNativeStarter' in project 'ReactNativeStarter' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --version --output-format xml1
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk -x objective-c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --print-asset-tag-combinations --output-format xml1 /Users/yorambenami_1/Documents/react-native-starter/ios/ReactNativeStarter/Images.xcassets
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --version --output-format xml1
Build description signature: 15bbbccecd4e70c1f3d3fbe87313bdf7 Build description path: /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/XCBuildData/15bbbccecd4e70c1f3d3fbe87313bdf7.xcbuilddata ClangStatCache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.4-21E210-aa93b11c43e2d16681ac3fa171344f4f.sdkstatcache cd /Users/yorambenami_1/Documents/react-native-starter/ios /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk -o /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.4-21E210-aa93b11c43e2d16681ac3fa171344f4f.sdkstatcache
ProcessProductPackaging "" /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/ReactNativeStarter.app.xcent (in target 'ReactNativeStarter' from project 'ReactNativeStarter') cd /Users/yorambenami_1/Documents/react-native-starter/ios
}
ProcessProductPackaging "" /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/ReactNativeStarter.app-Simulated.xcent (in target 'ReactNativeStarter' from project 'ReactNativeStarter') cd /Users/yorambenami_1/Documents/react-native-starter/ios
}
ProcessProductPackagingDER /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/ReactNativeStarter.app.xcent /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/ReactNativeStarter.app.xcent.der (in target 'ReactNativeStarter' from project 'ReactNativeStarter') cd /Users/yorambenami_1/Documents/react-native-starter/ios /usr/bin/derq query -f xml -i /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/ReactNativeStarter.app.xcent -o /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/ReactNativeStarter.app.xcent.der --raw
ProcessProductPackagingDER /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/ReactNativeStarter.app-Simulated.xcent /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/ReactNativeStarter.app-Simulated.xcent.der (in target 'ReactNativeStarter' from project 'ReactNativeStarter') cd /Users/yorambenami_1/Documents/react-native-starter/ios /usr/bin/derq query -f xml -i /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/ReactNativeStarter.app-Simulated.xcent -o /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/ReactNativeStarter.app-Simulated.xcent.der --raw
PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Script-2A9AD1D4F7ED9EFE4956FA06.sh (in target 'ReactNativeStarter' from project 'ReactNativeStarter') cd /Users/yorambenami_1/Documents/react-native-starter/ios /bin/sh -c /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Script-2A9AD1D4F7ED9EFE4956FA06.sh
ProcessInfoPlistFile /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Products/Debug-iphonesimulator/ReactNativeStarter.app/Info.plist /Users/yorambenami_1/Documents/react-native-starter/ios/ReactNativeStarter/Info.plist (in target 'ReactNativeStarter' from project 'ReactNativeStarter') cd /Users/yorambenami_1/Documents/react-native-starter/ios builtin-infoPlistUtility /Users/yorambenami_1/Documents/react-native-starter/ios/ReactNativeStarter/Info.plist -producttype com.apple.product-type.application -genpkginfo /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Products/Debug-iphonesimulator/ReactNativeStarter.app/PkgInfo -expandbuildsettings -format binary -platform iphonesimulator -additionalcontentfile /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/LaunchScreen-SBPartialInfo.plist -additionalcontentfile /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/assetcatalog_generated_info.plist -o /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Products/Debug-iphonesimulator/ReactNativeStarter.app/Info.plist
CompileC /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/ReactNativeStarter_vers.o /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/DerivedSources/ReactNativeStarter_vers.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'ReactNativeStarter' from project 'ReactNativeStarter') cd /Users/yorambenami_1/Documents/react-native-starter/ios /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.4-21E210-aa93b11c43e2d16681ac3fa171344f4f.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/yorambenami_1/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 -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 -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Index.noindex/DataStore @/Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/ReactNativeStarter_vers.d --serialize-diagnostics /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/ReactNativeStarter_vers.dia -c /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/DerivedSources/ReactNativeStarter_vers.c -o /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/ReactNativeStarter_vers.o -index-unit-output-path /ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/ReactNativeStarter_vers.o fatal error: module map file '/Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found 1 error generated.
CompileC /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/AppDelegate.o /Users/yorambenami_1/Documents/react-native-starter/ios/ReactNativeStarter/AppDelegate.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'ReactNativeStarter' from project 'ReactNativeStarter') cd /Users/yorambenami_1/Documents/react-native-starter/ios /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -ivfsstatcache /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.4-21E210-aa93b11c43e2d16681ac3fa171344f4f.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/yorambenami_1/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 -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 -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -index-store-path /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Index.noindex/DataStore @/Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/af3fcb34312c57c0f52879cdce924b91-common-args.resp -MMD -MT dependencies -MF /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/AppDelegate.d --serialize-diagnostics /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/AppDelegate.dia -c /Users/yorambenami_1/Documents/react-native-starter/ios/ReactNativeStarter/AppDelegate.mm -o /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/AppDelegate.o -index-unit-output-path /ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/AppDelegate.o
CompileC /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/main.o /Users/yorambenami_1/Documents/react-native-starter/ios/ReactNativeStarter/main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'ReactNativeStarter' from project 'ReactNativeStarter') cd /Users/yorambenami_1/Documents/react-native-starter/ios /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.4-21E210-aa93b11c43e2d16681ac3fa171344f4f.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/yorambenami_1/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 -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 -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Index.noindex/DataStore @/Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/main.d --serialize-diagnostics /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/main.dia -c /Users/yorambenami_1/Documents/react-native-starter/ios/ReactNativeStarter/main.m -o /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/main.o -index-unit-output-path /ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/main.o fatal error: module map file '/Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found
warning: Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'ReactNativeStarter' from project 'ReactNativeStarter')
--- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:iOS Simulator, id:5408684E-7562-4039-AD81-5EB598EC3298, OS:17.4, name:iPhone SE (3rd generation) } { platform:iOS Simulator, id:5408684E-7562-4039-AD81-5EB598EC3298, OS:17.4, name:iPhone SE (3rd generation) } BUILD FAILED
The following build commands failed: CompileC /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/Objects-normal/arm64/ReactNativeStarter_vers.o /Users/yorambenami_1/Library/Developer/Xcode/DerivedData/ReactNativeStarter-gtnfioqkyosjvqadwoxrnvbyptgc/Build/Intermediates.noindex/ReactNativeStarter.build/Debug-iphonesimulator/ReactNativeStarter.build/DerivedSources/ReactNativeStarter_vers.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'ReactNativeStarter' from project 'ReactNativeStarter') (1 failure)
info Run CLI with --verbose flag for more details.`
Any idea?