Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐛] RN 74.5 unable to build iOS #629

Open
1 task done
Dadilium opened this issue Aug 11, 2024 · 6 comments
Open
1 task done

[🐛] RN 74.5 unable to build iOS #629

Dadilium opened this issue Aug 11, 2024 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@Dadilium
Copy link

Dadilium commented Aug 11, 2024

What happened?

Hi all,
I am unable to build my react native app from a brand new project.

I have taken the very simple steps:

  1. npx react-native init testProject
  2. go in the directory and run npx react-native run-ios (build successful)
  3. added pod 'Firebase' in my Podfile and the configure call in the delegate file
  4. npm i react-native-google-mobile-ads
  5. npx pod-install
  6. npx react-native run-ios (failure)

I am not expecting to see adds at this point but to be able to build my project

the output of the build is as follow:

CompileC /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/Objects-normal/arm64/React-RCTAppDelegate-dummy.o /Users/antoineroy/projects/watchandearn/ios/Pods/Target\ Support\ Files/React-RCTAppDelegate/React-RCTAppDelegate-dummy.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-RCTAppDelegate' from project 'Pods')
cd /Users/antoineroy/projects/watchandearn/ios/Pods
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/antoineroy/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.2-21C52-4f2951bfe8f3cd53c99228b0131e163e.sdkstatcache -target arm64-apple-ios13.4-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fno-color-diagnostics -std=gnu11 -fobjc-arc -fmodules -fmodules-cache-path=/Users/antoineroy/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/antoineroy/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 -fmodule-name=React_RCTAppDelegate -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -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 -DPOD_CONFIGURATION_DEBUG=1 -DDEBUG=1 -DCOCOAPODS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Index.noindex/DataStore -iquote /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/React-RCTAppDelegate-generated-files.hmap -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/React-RCTAppDelegate-own-target-headers.hmap -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/React-RCTAppDelegate-all-non-framework-target-headers.hmap -ivfsoverlay /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/all-product-headers.yaml -iquote /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/React-RCTAppDelegate-project-headers.hmap -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-RCTAppDelegate/include -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Private -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Private/React-RCTAppDelegate -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/DoubleConversion -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/FBLazyVector -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCT-Folly -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTRequired -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTTypeSafety -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-Codegen -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-Core -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-Fabric -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-FabricImage -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-ImageManager -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-Mapbuffer -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-NativeModulesApple -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-RCTBlob -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-RCTFabric -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-RCTText -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-RuntimeApple -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-RuntimeCore -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-RuntimeHermes -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-callinvoker -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-cxxreact -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-debug -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-featureflags -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-graphics -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-hermes -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-jserrorhandler -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-jsi -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-jsiexecutor -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-jsinspector -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-logger -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-nativeconfig -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-perflogger -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-rendererdebug -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-runtimeexecutor -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-runtimescheduler -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-utils -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/ReactCommon -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/Yoga -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/fmt -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/glog -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/hermes-engine -I/Users/antoineroy/projects/watchandearn/node_modules/react-native/ReactCommon -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Private/React-Core -I/Users/antoineroy/projects/watchandearn/ios/Pods/boost -I/Users/antoineroy/projects/watchandearn/ios/Pods/DoubleConversion -I/Users/antoineroy/projects/watchandearn/ios/Pods/fmt/include -I/Users/antoineroy/projects/watchandearn/ios/Pods/RCT-Folly -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/FlipperKit -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/ReactCommon -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-RCTFabric -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Private/Yoga -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-hermes -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/hermes-engine -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/ReactCommon/ReactCommon.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/ReactCommon/ReactCommon.framework/Headers/react/nativemodule/core -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-NativeModulesApple/React_NativeModulesApple.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-runtimescheduler/React_runtimescheduler.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-RCTFabric/RCTFabric.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-RuntimeCore/React_RuntimeCore.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-RuntimeApple/React_RuntimeApple.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-Fabric/React_Fabric.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-graphics/React_graphics.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-graphics/React_graphics.framework/Headers/react/renderer/graphics/platform/ios -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-utils/React_utils.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-debug/React_debug.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-rendererdebug/React_rendererdebug.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-featureflags/React_featureflags.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/DerivedSources-normal/arm64 -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/DerivedSources/arm64 -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/DerivedSources -F/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-RCTAppDelegate -F/Users/antoineroy/projects/watchandearn/ios/Pods/hermes-engine/destroot/Library/Frameworks/universal -F/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/hermes-engine/Pre-built -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/CoreModules/React-CoreModules.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/DoubleConversion/DoubleConversion.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTBlob/React-RCTBlob.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTDeprecation/RCTDeprecation.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTFabric/React-RCTFabric.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTImage/React-RCTImage.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTNetwork/React-RCTNetwork.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTText/React-RCTText.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTTypeSafety/RCTTypeSafety.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React/React-Core.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/ReactCommon/React-RuntimeApple.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/ReactCommon/ReactCommon.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React_Codegen/React-Codegen.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React_Fabric/React-Fabric.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React_NativeModulesApple/React-NativeModulesApple.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/SocketRocket/SocketRocket.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/cxxreact/React-cxxreact.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/fmt/fmt.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/folly/RCT-Folly.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/glog/glog.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/jserrorhandler/React-jserrorhandler.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/jsi/React-jsi.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/jsinspector_modern/React-jsinspector.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/jsireact/React-jsiexecutor.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/logger/React-logger.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_config/React-nativeconfig.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_debug/React-debug.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_featureflags/React-featureflags.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_renderer_components_image/React-FabricImage.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_renderer_debug/React-rendererdebug.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_renderer_graphics/React-graphics.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_renderer_imagemanager/React-ImageManager.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_renderer_mapbuffer/React-Mapbuffer.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_renderer_runtimescheduler/React-runtimescheduler.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_runtime/React-RuntimeCore.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_runtime_hermes/React-RuntimeHermes.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_utils/React-utils.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/reacthermes/React-hermes.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/reactperflogger/React-perflogger.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/yoga/Yoga.modulemap -include /Users/antoineroy/projects/watchandearn/ios/Pods/Target\ Support\ Files/React-RCTAppDelegate/React-RCTAppDelegate-prefix.pch -MMD -MT dependencies -MF /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/Objects-normal/arm64/React-RCTAppDelegate-dummy.d --serialize-diagnostics /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/Objects-normal/arm64/React-RCTAppDelegate-dummy.dia -c /Users/antoineroy/projects/watchandearn/ios/Pods/Target\ Support\ Files/React-RCTAppDelegate/React-RCTAppDelegate-dummy.m -o /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/Objects-normal/arm64/React-RCTAppDelegate-dummy.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/Objects-normal/arm64/React-RCTAppDelegate-dummy.o
/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/ReactCommon/ReactCommon.modulemap:1:8: error: redefinition of module 'ReactCommon'
module ReactCommon {
^
/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/ReactCommon/React-RuntimeApple.modulemap:1:8: note: previously defined here
module ReactCommon {
^
1 error generated.

CompileC /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/Objects-normal/arm64/RCTRootViewFactory.o /Users/antoineroy/projects/watchandearn/node_modules/react-native/Libraries/AppDelegate/RCTRootViewFactory.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-RCTAppDelegate' from project 'Pods')
cd /Users/antoineroy/projects/watchandearn/ios/Pods
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -ivfsstatcache /Users/antoineroy/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.2-21C52-4f2951bfe8f3cd53c99228b0131e163e.sdkstatcache -target arm64-apple-ios13.4-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fno-color-diagnostics -std=c++20 -stdlib=libc++ -fobjc-arc -fmodules -fmodules-cache-path=/Users/antoineroy/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/antoineroy/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 -fmodule-name=React_RCTAppDelegate -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -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 -DPOD_CONFIGURATION_DEBUG=1 -DDEBUG=1 -DCOCOAPODS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -g -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Index.noindex/DataStore -iquote /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/React-RCTAppDelegate-generated-files.hmap -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/React-RCTAppDelegate-own-target-headers.hmap -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/React-RCTAppDelegate-all-non-framework-target-headers.hmap -ivfsoverlay /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/all-product-headers.yaml -iquote /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/React-RCTAppDelegate-project-headers.hmap -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-RCTAppDelegate/include -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Private -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Private/React-RCTAppDelegate -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/DoubleConversion -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/FBLazyVector -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCT-Folly -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTRequired -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTTypeSafety -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-Codegen -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-Core -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-Fabric -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-FabricImage -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-ImageManager -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-Mapbuffer -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-NativeModulesApple -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-RCTBlob -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-RCTFabric -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-RCTText -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-RuntimeApple -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-RuntimeCore -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-RuntimeHermes -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-callinvoker -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-cxxreact -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-debug -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-featureflags -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-graphics -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-hermes -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-jserrorhandler -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-jsi -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-jsiexecutor -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-jsinspector -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-logger -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-nativeconfig -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-perflogger -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-rendererdebug -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-runtimeexecutor -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-runtimescheduler -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-utils -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/ReactCommon -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/Yoga -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/fmt -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/glog -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/hermes-engine -I/Users/antoineroy/projects/watchandearn/node_modules/react-native/ReactCommon -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Private/React-Core -I/Users/antoineroy/projects/watchandearn/ios/Pods/boost -I/Users/antoineroy/projects/watchandearn/ios/Pods/DoubleConversion -I/Users/antoineroy/projects/watchandearn/ios/Pods/fmt/include -I/Users/antoineroy/projects/watchandearn/ios/Pods/RCT-Folly -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/FlipperKit -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/ReactCommon -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-RCTFabric -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Private/Yoga -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React-hermes -I/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/hermes-engine -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/ReactCommon/ReactCommon.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/ReactCommon/ReactCommon.framework/Headers/react/nativemodule/core -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-NativeModulesApple/React_NativeModulesApple.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-runtimescheduler/React_runtimescheduler.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-RCTFabric/RCTFabric.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-RuntimeCore/React_RuntimeCore.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-RuntimeApple/React_RuntimeApple.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-Fabric/React_Fabric.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-graphics/React_graphics.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-graphics/React_graphics.framework/Headers/react/renderer/graphics/platform/ios -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-utils/React_utils.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-debug/React_debug.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-rendererdebug/React_rendererdebug.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-featureflags/React_featureflags.framework/Headers -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/DerivedSources-normal/arm64 -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/DerivedSources/arm64 -I/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/DerivedSources -F/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/React-RCTAppDelegate -F/Users/antoineroy/projects/watchandearn/ios/Pods/hermes-engine/destroot/Library/Frameworks/universal -F/Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/hermes-engine/Pre-built -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/CoreModules/React-CoreModules.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/DoubleConversion/DoubleConversion.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTBlob/React-RCTBlob.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTDeprecation/RCTDeprecation.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTFabric/React-RCTFabric.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTImage/React-RCTImage.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTNetwork/React-RCTNetwork.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTText/React-RCTText.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/RCTTypeSafety/RCTTypeSafety.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React/React-Core.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/ReactCommon/React-RuntimeApple.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/ReactCommon/ReactCommon.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React_Codegen/React-Codegen.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React_Fabric/React-Fabric.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/React_NativeModulesApple/React-NativeModulesApple.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/SocketRocket/SocketRocket.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/cxxreact/React-cxxreact.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/fmt/fmt.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/folly/RCT-Folly.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/glog/glog.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/jserrorhandler/React-jserrorhandler.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/jsi/React-jsi.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/jsinspector_modern/React-jsinspector.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/jsireact/React-jsiexecutor.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/logger/React-logger.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_config/React-nativeconfig.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_debug/React-debug.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_featureflags/React-featureflags.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_renderer_components_image/React-FabricImage.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_renderer_debug/React-rendererdebug.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_renderer_graphics/React-graphics.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_renderer_imagemanager/React-ImageManager.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_renderer_mapbuffer/React-Mapbuffer.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_renderer_runtimescheduler/React-runtimescheduler.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_runtime/React-RuntimeCore.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_runtime_hermes/React-RuntimeHermes.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/react_utils/React-utils.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/reacthermes/React-hermes.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/reactperflogger/React-perflogger.modulemap -fmodule-map-file=/Users/antoineroy/projects/watchandearn/ios/Pods/Headers/Public/yoga/Yoga.modulemap -DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_CFG_NO_COROUTINES=1 -DFOLLY_HAVE_CLOCK_GETTIME=1 -Wno-comma -Wno-shorten-64-to-32 -DUSE_HERMES -DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_CFG_NO_COROUTINES=1 -DFOLLY_HAVE_CLOCK_GETTIME=1 -Wno-comma -Wno-shorten-64-to-32 -DUSE_HERMES -include /Users/antoineroy/projects/watchandearn/ios/Pods/Target\ Support\ Files/React-RCTAppDelegate/React-RCTAppDelegate-prefix.pch -MMD -MT dependencies -MF /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/Objects-normal/arm64/RCTRootViewFactory.d --serialize-diagnostics /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/Objects-normal/arm64/RCTRootViewFactory.dia -c /Users/antoineroy/projects/watchandearn/node_modules/react-native/Libraries/AppDelegate/RCTRootViewFactory.mm -o /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/Objects-normal/arm64/RCTRootViewFactory.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/Objects-normal/arm64/RCTRootViewFactory.o

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 'watchandearn' from project 'watchandearn')
warning: Run script build phase '[CP-User] [RNGoogleMobileAds] Configuration' 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 'watchandearn' from project 'watchandearn')
warning: Run script build phase '[CP-User] [Hermes] Replace Hermes for the right configuration, if needed' 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 'hermes-engine' from project 'Pods')
/Users/antoineroy/projects/watchandearn/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 17.2.99. (in target 'PromisesObjC-FBLPromises_Privacy' from project 'Pods')
warning: Run script build phase '[CP-User] [RN]Check rncore' 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 'React-Fabric' from project 'Pods')

--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, id:E07A8BBA-F145-49A3-8E6A-5B0755DCF679, OS:17.2, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:E07A8BBA-F145-49A3-8E6A-5B0755DCF679, OS:17.2, name:iPhone SE (3rd generation) }
** BUILD FAILED **

The following build commands failed:
CompileC /Users/antoineroy/Library/Developer/Xcode/DerivedData/watchandearn-faolueuefqjtkfandflwkasnlvtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTAppDelegate.build/Objects-normal/arm64/React-RCTAppDelegate-dummy.o /Users/antoineroy/projects/watchandearn/ios/Pods/Target\ Support\ Files/React-RCTAppDelegate/React-RCTAppDelegate-dummy.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-RCTAppDelegate' from project 'Pods')

Please help me out :)

Platforms

iOS, but have not tested behavior on Android

React Native Info

System:
  OS: macOS 14.3.1
  CPU: (10) arm64 Apple M2 Pro
  Memory: 436.20 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.5.0
    path: ~/.nvm/versions/node/v20.5.0/bin/node
  Yarn: Not Found
  npm:
    version: 10.8.2
    path: ~/.nvm/versions/node/v20.5.0/bin/npm
  Watchman:
    version: 2023.07.24.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /Users/antoineroy/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.2
      - iOS 17.2
      - macOS 14.2
      - tvOS 17.2
      - visionOS 1.0
      - watchOS 10.2
  Android SDK:
    API Levels:
      - "33"
      - "34"
    Build Tools:
      - 30.0.3
      - 33.0.0
      - 34.0.0
    System Images:
      - android-33 | Google APIs ARM 64 v8a
      - android-34 | Intel x86_64 Atom
      - android-34 | Google APIs ARM 64 v8a
    Android NDK: Not Found
IDEs:
  Android Studio: 2023.1 AI-231.9392.1.2311.11330709
  Xcode:
    version: 15.2/15C500b
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.11
    path: /usr/bin/javac
  Ruby:
    version: 3.2.2
    path: /Users/antoineroy/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.74.5
    wanted: 0.74.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Are your using Typescript?

  • My project is using Typescript

package.json

{
  "name": "testProject",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "lint": "eslint .",
    "start": "react-native start",
    "test": "jest"
  },
  "dependencies": {
    "react": "18.2.0",
    "react-native": "0.74.5",
    "react-native-google-mobile-ads": "^14.2.2"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@babel/preset-env": "^7.20.0",
    "@babel/runtime": "^7.20.0",
    "@react-native/babel-preset": "0.74.87",
    "@react-native/eslint-config": "0.74.87",
    "@react-native/metro-config": "0.74.87",
    "@react-native/typescript-config": "0.74.87",
    "@types/react": "^18.2.6",
    "@types/react-test-renderer": "^18.0.0",
    "babel-jest": "^29.6.3",
    "eslint": "^8.19.0",
    "jest": "^29.6.3",
    "prettier": "2.8.8",
    "react-test-renderer": "18.2.0",
    "typescript": "5.0.4"
  },
  "engines": {
    "node": ">=18"
  }
}

app.json

{
  "name": "testProject",
  "displayName": "testProject",
  "react-native-google-mobile-ads": {
    "android_app_id": "ca-app-pub-xxxxxxxx~xxxxxxxx",
    "ios_app_id": "ca-app-pub-....",
    "user_tracking_usage_description": "This identifier will be used to deliver personalized ads to you."
  }
}

ios/Podfile

# Resolve react_native_pods.rb with node to allow for hoisting
require Pod::Executable.execute_command('node', ['-p',
  'require.resolve(
    "react-native/scripts/react_native_pods.rb",
    {paths: [process.argv[1]]},
  )', __dir__]).strip

platform :ios, min_ios_version_supported
prepare_react_native_project!

linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
  Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
  use_frameworks! :linkage => linkage.to_sym
end

target 'testProject' do
  use_modular_headers!

  pod 'Firebase'
  # pod 'Firebase/AdMob'
  config = use_native_modules!

  use_react_native!(
    :path => config[:reactNativePath],
    # An absolute path to your application root.
    :app_path => "#{Pod::Config.instance.installation_root}/.."
  )

  target 'testProjectests' do
    inherit! :complete
    # Pods for testing
  end

  post_install do |installer|
    # https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
    react_native_post_install(
      installer,
      config[:reactNativePath],
      :mac_catalyst_enabled => false,
      # :ccache_enabled => true
    )
  end
end

android/build.gradle

No response

android/app/build.gradle

No response

android/settings.gradle

No response

AndroidManifest.xml

No response

@Dadilium Dadilium added the help wanted Extra attention is needed label Aug 11, 2024
@dylancom
Copy link
Collaborator

Make sure to use Xcode >= 15.3

@claudiofus
Copy link

I'm using Xcode 15.4 and I'm facing the same issue

@farazahmed12
Copy link

I am using Xcode version 15.2, facing same issue, iOS build fails while starting the project, however on Android it works fine.

@dylancom
Copy link
Collaborator

@farazahmed12 See the release notes. You need Xcode 15.3 since 11.6.0: https://developers.google.com/admob/ios/rel-notes

@farazahmed12
Copy link

But point is when I will change my Xcode version, my other projects will be disturbed,
It's a risk, if I change version of Xcode, don't know what effects it will cause to my other projects.

@dylancom
Copy link
Collaborator

You can downgrade this package to 13.4.0 then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants