更新到 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.
最佳答案
通过执行以下操作解决:
{
'version': 0,
'case-sensitive': 'false',
'roots': []
}
在此之后 Xcode 会提示 关于无法使用此错误写入文件,这是预期的并且似乎不会影响构建。 编辑:对大多数人来说。如果它阻止您运行,请尝试禁用
Defines Module
在 Build Settings
你的目标: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/24622650/