Detox build 因抛出 YogaKit.modulemap' 致命错误未找到而失败
Xcode 版本:- 11.3 "react": "16.11.0", "react-native": "0.62.2" "detox": "13.3.0",也尝试了最新的 16 版本
但是通过以下配置构建成功
"dependencies": { "react": "^16.3.0-alpha.1", "react-native": "0.59.9" }, "devDependencies": { "babel-jest": "22.4.1", "babel-preset-react-native": "4.0.0", "detox": "13.3.0", "jest": "22.4.2", "mocha": "^5.0.4", "react-测试渲染器": "^16.3.0-alpha.1"
** 构建成功 **
我认为最新版本的 react-native 与 detox 不兼容。我试图为 Yogakit 下定决心,但以失败告终。
如果需要什么,请告诉我。如果有人与最新的 react-native 共享工作配置,我将不胜感激。
`fatal error: module map file ....../ios/build/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found 1个错误生成。产生了 20 个错误。致命错误:模块映射文件 '...../ios/build/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found 1 错误生成。产生了 22 个错误。
** 构建失败 **
以下构建命令失败:CompileC /....../ios/build/Build/Intermediates.noindex/King.build/Debug-iphonesimulator/King.build/Objects-normal/x86_64/AppDelegate.o /... .../ios/King/AppDelegate.m 正常 x86_64 目标-c com.apple.compilers.llvm.clang.1_0.compiler(1 …