gpt4 book ai didi

debugging - 在 Xcode 12 中调试和运行 PO 命令时抛出错误

转载 作者:行者123 更新时间:2023-12-03 20:47:55 26 4
gpt4 key购买 nike

当我在模拟器或设备上运行应用程序并尝试在调试期间使用 PO 命令时。 Xcode 抛出错误而不是打印值。这是在我更新 Xcode 12 之后发生的。

error: virtual filesystem overlay file


/all-product-headers.yaml' not found


error: couldn't IRGen expression. Please check the above error messages for possible root causes.


enter image description here
对此有什么解决方案?
任何帮助,将不胜感激。

最佳答案

转到/Users/ /Library/Developer/Xcode/并删除“DerivedData”文件夹。
如果在丢失文件的路径中是框架的名称,例如 乌萨比拉 .build/Release-iphonesimulator/ 乌萨比拉 .build/all-product-headers.yaml
尝试使用旧版本,使用 Usabilla 的 6.4.7 版为我解决了这个问题。
如果上述修复不起作用,以下是一些可能有帮助的信息:
https://steipete.com/posts/couldnt-irgen-expression/

关于debugging - 在 Xcode 12 中调试和运行 PO 命令时抛出错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64691836/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com