本文介绍了未找到调试 iphonesimulator/YogaKit/YogaKit.modulemap'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在 react-native 中创建了新项目,我正在尝试在 xcode 中构建,但它出现了致命错误
i'm created new project in react-native and i'm trying to build in xcode but it was coming fatal error
致命错误:找不到模块映射文件/Users/gis00109/Library/Developer/Xcode/DerivedData/sam-capwmdorzbxfzphhezjlrwcbyxyp/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap"
fatal error: module map file '/Users/gis00109/Library/Developer/Xcode/DerivedData/sam-capwmdorzbxfzphhezjlrwcbyxyp/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found
推荐答案
解决步骤:
- 转到 Xcode ->点击目标 ->构建设置
- 搜索VALID_ARCHS
- 编写arm64 armv7 x86_64";(不带引号)在那
- 清理和重建
这篇关于未找到调试 iphonesimulator/YogaKit/YogaKit.modulemap'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!