构建错误问题 "Couldn't update module cache session file derived data Module cache"

Build Error Issue "Couldn't update module cache session file derived data Module cache"

我是 运行 我更新 Xcode 到版本 7.3 后的第一个程序,但我一直收到此构建错误

Couldn't update module cache session file '/Users/admin/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation': You don’t have permission to save the file “Session.modulevalidation” in the folder “ModuleCache”.

我已经尝试通过设置我的主目录和文件夹的读写权限来解决这个问题,但我仍然遇到同样的错误。任何人都可以建议如何解决这个问题吗?

我修复了它,结果我唯一没有做的是在 Session.modulevalidation

上为员工设置读写权限

希望对遇到类似问题的人有所帮助。

我遇到了上述文件夹的权限问题,它帮我解决了这些问题。

我通过为 Session.modulevalidation

上的员工设置读写权限来修复它