运行IOS模拟器后找不到YogaKit.modulemap [英] YogaKit.modulemap not found after running the IOS Simulator
问题描述
我在 XCode 中运行我的 IOS 模拟器时遇到问题,每次我尝试运行模拟器时,我都会收到一条错误消息:
I have problems running my IOS Simulator within XCode, everytime I try to run the simulator, I get an error message saying:
致命错误:模块映射文件‘/Users/maurice/Library/Developer/Xcode/DerivedData/feedIt-etmfdpwrwadziocunpypqhkwucsd/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap’未找到"代码>
预期行为:XCode 运行模拟器.
Expected behavior: XCode runs the simulator.
实际行为:构建失败,我收到了描述的错误消息.
Actual Behavior: The Build fails and I get the described error message.
我已经尝试更新 Pod 并删除派生数据,但显然这不起作用.
I already tried to update Pods and delete the Derived Data, but apparently that didn't work.
我该如何解决这个问题?
How can I fix this issue?
我在 MacOS 10.15.5 和 XCode 11.6 上运行
I'm running on MacOS 10.15.5 and XCode 11.6
感谢您的帮助.问候,莫里斯 错误信息
Thanks for any help. Regards, Maurice Error Message
推荐答案
根据本issue,问题可能是你打开了 .xcodeproj
而不是 .xcworkspace
.其他一些建议的修复包括:
According to the comments in this issue, the problem could be that you opened up .xcodeproj
instead of .xcworkspace
. Some of the other suggested fixes include:
我在尝试从命令行构建项目时遇到了类似的问题,根本问题是我使用的是 .xcodeproj
而不是 .xcworkspace
.据我所知,此错误可能是由多种不同因素引起的.
I was experiencing a similar issue when trying to build the project from the command line and the root issue was that I was using the .xcodeproj
instead of .xcworkspace
. From what I could tell this error could be caused by multiple different factors.
这篇关于运行IOS模拟器后找不到YogaKit.modulemap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!