运行react-native run-ios --simulator="iPad Pro (12.9-inch) (6th generation)"
命令后,我得到一个错误。
以下生成命令失败:CompileC /Users/{usernamenr}/Library/Developer/Xcode/DerivedData/{projectname}-esaknhfpvzhmyaepfktgsvawzuqy/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Yoga.build/Objects-normal/x86_64/Yoga.o /Users/{username}/Projects/${projectname}/application/packages/移动的/node_modules/react-native/ReactCommon/yoga/Yoga.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler(在项目“Pods”的目标“Yoga”中)(1次失败)
我尝试删除node_modules,清除缓存并安装pod。没有任何帮助。
1条答案
按热度按时间3okqufwl1#
应该是瑜伽库导致的编译错误,This可能是答案。