gpt4 book ai didi

Xcode 6 测试版 3 : invalid virtual filesystem overlay file

转载 作者:行者123 更新时间:2023-11-28 09:20:59 28 4
gpt4 key购买 nike

更新到 Xcode 6 beta 3 后,编译器不断崩溃并出现以下错误:

/[Long-path-goes-here]/all-product-headers.yaml:4:13: error: Could not find closing ]!
'roots': [
^
fatal error: invalid virtual filesystem overlay file '/[Long-path-goes-here]/all-product-headers.yaml'
1 error generated.

最佳答案

通过执行以下操作解决:

  1. 在 Finder 中找到/[Long-path-goes-here]/all-product-headers.yaml(转到文件夹...)
  2. 用下面的代码替换内容。
  3. 保存并锁定文件。 (获取文件信息,检查锁定。)

{
'版本':0,
'区分大小写':'假',
'根':[]
}

在此之后,Xcode 将提示无法写入带有此错误的文件,这是预期的并且似乎不会影响构建。 编辑:对于大多数人。如果它阻止您运行,请尝试在目标的 Build Settings 中禁用 Defines Module:

Unable to write to file /Users/user/Library/Developer/Xcode/DerivedData/.. (You don’t have permission to save the file “all-product-headers.yaml” in the folder “Pods.build”.) 

discussion on Apple Developer forums致敬.另外,这个 is the relevant issue在 CocoaPods 问题跟踪器中。

关于Xcode 6 测试版 3 : invalid virtual filesystem overlay file,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24638220/

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