【问题标题】:Xcode: The file “UserInterfaceState.xcuserstate” could not be unlockedXcode:无法解锁文件“UserInterfaceState.xcuserstate”
【发布时间】:2020-01-28 06:43:15
【问题描述】:

我是 IOS 编程新手。我从 designcode.io 学习它。我从网站下载了操场文件。但是当我开始编辑它时。它将显示“无法解锁文件“UserInterfaceState.xcuserstate”。” ,以及“文档”Designcode-Design playground“无法保存你没有权限”。这是屏幕截图。enter image description here

enter image description here

我已将我的用户权限设置为读写。但它不能解决这个问题。请帮我。谢谢。

【问题讨论】:

  • 我在 Xcode 10 到 11.2 beta 上的 Swift Playground 中遇到了同样的错误

标签: xcode


【解决方案1】:

我在这里找到了你的答案: myProject is locked for editing and you may not be able to save your changes?

您可以通过Get Info 编辑设置,然后更改自定义访问权限。

如果您仍然无法编辑它,也许您可​​以将 Playground 文件复制到您有权读取/写入的另一个文件夹。

【讨论】:

    猜你喜欢
    • 2018-03-01
    • 2013-12-09
    • 1970-01-01
    • 2014-05-03
    • 2011-10-31
    • 2015-09-22
    • 1970-01-01
    • 2015-03-25
    • 2019-04-11
    相关资源
    最近更新 更多