Skip to content

Unable to Run Newly Created React Native App on iOS Simulator/Device #451

Open
@poya-dev

Description

@poya-dev

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.4.sdk/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
45 | struct char_traits;
| ^

SwiftEmitModule normal arm64 Emitting\ module\ for\ EXDevMenuInterface (in target 'expo-dev-menu-interface' from project 'Pods')

EmitSwiftModule normal arm64 (in target 'expo-dev-menu-interface' from project 'Pods')
cd /Users/hashim.poya/workplace/clothify/MyApp/ios/Pods

CompileC /Users/hashim.poya/Library/Developer/Xcode/DerivedData/MyApp-dgzcvmqpdovnjkcqhawvruzuyllj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/RuntimeTargetConsole.o /Users/hashim.poya/workplace/clothify/MyApp/node_modules/react-native/ReactCommon/jsinspector-modern/RuntimeTargetConsole.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-jsinspector' from project 'Pods')
cd /Users/hashim.poya/workplace/clothify/MyApp/ios/Pods

Using response file: /Users/hashim.poya/Library/Developer/Xcode/DerivedData/MyApp-dgzcvmqpdovnjkcqhawvruzuyllj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -ivfsstatcache /Users/hashim.poya/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator18.4-22E235-71825a6d136aa4733edcbe86ece5525b.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/hashim.poya/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 -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -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-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/hashim.poya/Library/Developer/Xcode/DerivedData/MyApp-dgzcvmqpdovnjkcqhawvruzuyllj/Index.noindex/DataStore @/Users/hashim.poya/Library/Developer/Xcode/DerivedData/MyApp-dgzcvmqpdovnjkcqhawvruzuyllj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -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 -include /Users/hashim.poya/workplace/clothify/MyApp/ios/Pods/Target\ Support\ Files/React-jsinspector/React-jsinspector-prefix.pch -MMD -MT dependencies -MF /Users/hashim.poya/Library/Developer/Xcode/DerivedData/MyApp-dgzcvmqpdovnjkcqhawvruzuyllj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/RuntimeTargetConsole.d --serialize-diagnostics /Users/hashim.poya/Library/Developer/Xcode/DerivedData/MyApp-dgzcvmqpdovnjkcqhawvruzuyllj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/RuntimeTargetConsole.dia -c /Users/hashim.poya/workplace/clothify/MyApp/node_modules/react-native/ReactCommon/jsinspector-modern/RuntimeTargetConsole.cpp -o /Users/hashim.poya/Library/Developer/Xcode/DerivedData/MyApp-dgzcvmqpdovnjkcqhawvruzuyllj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/RuntimeTargetConsole.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/RuntimeTargetConsole.o

CompileC /Users/hashim.poya/Library/Developer/Xcode/DerivedData/MyApp-dgzcvmqpdovnjkcqhawvruzuyllj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/RuntimeTarget.o /Users/hashim.poya/workplace/clothify/MyApp/node_modules/react-native/ReactCommon/jsinspector-modern/RuntimeTarget.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-jsinspector' from project 'Pods')
cd /Users/hashim.poya/workplace/clothify/MyApp/ios/Pods

Using response file: /Users/hashim.poya/Library/Developer/Xcode/DerivedData/MyApp-dgzcvmqpdovnjkcqhawvruzuyllj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -ivfsstatcache /Users/hashim.poya/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator18.4-22E235-71825a6d136aa4733edcbe86ece5525b.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/hashim.poya/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 -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -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-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/hashim.poya/Library/Developer/Xcode/DerivedData/MyApp-dgzcvmqpdovnjkcqhawvruzuyllj/Index.noindex/DataStore @/Users/hashim.poya/Library/Developer/Xcode/DerivedData/MyApp-dgzcvmqpdovnjkcqhawvruzuyllj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -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 -include /Users/hashim.poya/workplace/clothify/MyApp/ios/Pods/Target\ Support\ Files/React-jsinspector/React-jsinspector-prefix.pch -MMD -MT dependencies -MF /Users/hashim.poya/Library/Developer/Xcode/DerivedData/MyApp-dgzcvmqpdovnjkcqhawvruzuyllj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/RuntimeTarget.d --serialize-diagnostics /Users/hashim.poya/Library/Developer/Xcode/DerivedData/MyApp-dgzcvmqpdovnjkcqhawvruzuyllj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/RuntimeTarget.dia -c /Users/hashim.poya/workplace/clothify/MyApp/node_modules/react-native/ReactCommon/jsinspector-modern/RuntimeTarget.cpp -o /Users/hashim.poya/Library/Developer/Xcode/DerivedData/MyApp-dgzcvmqpdovnjkcqhawvruzuyllj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/RuntimeTarget.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/RuntimeTarget.o

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 issue, 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-FabricComponents' 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 issue, 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')
note: Run script build phase '[Expo] Configure project' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'MyApp' from project 'MyApp')
note: Run script build phase 'Bundle React Native code and images' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'MyApp' from project 'MyApp')
warning: Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this issue, 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 'EXConstants' from project 'Pods')
/Users/hashim.poya/workplace/clothify/MyApp/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 18.4.99. (in target 'SDWebImage-SDWebImage' from project 'Pods')
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 issue, 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')

--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, arch:arm64, id:1FDD4B43-6227-46D8-A540-E6AF598C1C7A, OS:18.4, name:iPhone 16 Pro }
{ platform:iOS Simulator, arch:x86_64, id:1FDD4B43-6227-46D8-A540-E6AF598C1C7A, OS:18.4, name:iPhone 16 Pro }
** BUILD FAILED **

The following build commands failed:
CompileC /Users/hashim.poya/Library/Developer/Xcode/DerivedData/MyApp-dgzcvmqpdovnjkcqhawvruzuyllj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-rendererdebug.build/Objects-normal/arm64/DebugStringConvertible.o /Users/hashim.poya/workplace/clothify/MyApp/node_modules/react-native/ReactCommon/react/renderer/debug/DebugStringConvertible.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-rendererdebug' from project 'Pods')
Building workspace MyApp with scheme MyApp and configuration Debug
(2 failures)
Build logs written to /Users/hashim.poya/workplace/clothify/MyApp/.expo/xcodebuild.log
 ELIFECYCLE  Command failed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions