Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

Clang Error YGMarker.cpp in react-native ios app

$
0
0

When trying to build an IOS version of a react native app I seem to get a clang error with the yoga module. Can you help me diagnose and solve this?

     clang: error: no such file or directory: '/Users/ravi/iosechojoy/mobileapp/node_modules/react-native/ReactCommon/yoga/yoga/YGMarker.cpp'    clang: error: no input files    CompileC /Users/ravi/Library/Developer/Xcode/DerivedData/Echojoy-ghbnshelsfnjeffydgcmseonbqii/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/yoga.build/Objects-normal/x86_64/YGMarker.o /Users/ravi/iosechojoy/mobileapp/node_modules/react-native/ReactCommon/yoga/yoga/YGMarker.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler        cd /Users/ravi/iosechojoy/mobileapp/ios/Pods        export LANG=en_US.US-ASCII        export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -target x86_64-apple-ios9.0-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu++14 -stdlib=libc++ -fmodules -fmodules-cache-path=/Users/ravi/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/ravi/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 -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 -DPOD_CONFIGURATION_DEBUG=1 -DDEBUG=1 -DCOCOAPODS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -fasm-blocks -fstrict-aliasing -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 -index-store-path /Users/ravi/Library/Developer/Xcode/DerivedData/Echojoy-ghbnshelsfnjeffydgcmseonbqii/Index/DataStore -iquote /Users/ravi/Library/Developer/Xcode/DerivedData/Echojoy-ghbnshelsfnjeffydgcmseonbqii/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/yoga.build/yoga-generated-files.hmap -I/Users/ravi/Library/Developer/Xcode/DerivedData/Echojoy-ghbnshelsfnjeffydgcmseonbqii/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/yoga.build/yoga-own-target-headers.hmap -I/Users/ravi/Library/Developer/Xcode/DerivedData/Echojoy-ghbnshelsfnjeffydgcmseonbqii/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/yoga.build/yoga-all-target-headers.hmap -iquote /Users/ravi/Library/Developer/Xcode/DerivedData/Echojoy-ghbnshelsfnjeffydgcmseonbqii/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/yoga.build/yoga-project-headers.hmap -I/Users/ravi/Library/Developer/Xcode/DerivedData/Echojoy-ghbnshelsfnjeffydgcmseonbqii/Build/Products/Debug-iphonesimulator/yoga/include -I/Users/ravi/iosechojoy/mobileapp/ios/Pods/Headers/Private -I/Users/ravi/iosechojoy/mobileapp/ios/Pods/Headers/Private/yoga -I/Users/ravi/iosechojoy/mobileapp/ios/Pods/Headers/Public -I/Users/ravi/iosechojoy/mobileapp/ios/Pods/Headers/Public/yoga -I/Users/ravi/Library/Developer/Xcode/DerivedData/Echojoy-ghbnshelsfnjeffydgcmseonbqii/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/yoga.build/DerivedSources-normal/x86_64 -I/Users/ravi/Library/Developer/Xcode/DerivedData/Echojoy-ghbnshelsfnjeffydgcmseonbqii/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/yoga.build/DerivedSources/x86_64 -I/Users/ravi/Library/Developer/Xcode/DerivedData/Echojoy-ghbnshelsfnjeffydgcmseonbqii/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/yoga.build/DerivedSources -F/Users/ravi/Library/Developer/Xcode/DerivedData/Echojoy-ghbnshelsfnjeffydgcmseonbqii/Build/Products/Debug-iphonesimulator/yoga -fno-omit-frame-pointer -fexceptions -Wall -Werror -std=c++1y -fPIC -fno-objc-arc -include /Users/ravi/iosechojoy/mobileapp/ios/Pods/Target\ Support\ Files/yoga/yoga-prefix.pch -MMD -MT dependencies -MF /Users/ravi/Library/Developer/Xcode/DerivedData/Echojoy-ghbnshelsfnjeffydgcmseonbqii/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/yoga.build/Objects-normal/x86_64/YGMarker.d --serialize-diagnostics /Users/ravi/Library/Developer/Xcode/DerivedData/Echojoy-ghbnshelsfnjeffydgcmseonbqii/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/yoga.build/Objects-normal/x86_64/YGMarker.dia -c /Users/ravi/iosechojoy/mobileapp/node_modules/react-native/ReactCommon/yoga/yoga/YGMarker.cpp -o /Users/ravi/Library/Developer/Xcode/DerivedData/Echojoy-ghbnshelsfnjeffydgcmseonbqii/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/yoga.build/Objects-normal/x86_64/YGMarker.o

Viewing all articles
Browse latest Browse all 16552

Trending Articles