问题描述
几天前,我的 mac 出现问题,所以我把它带到了当地 Apple 商店的 Genius 吧.他们说硬盘驱动器上的分区失败,必须重新格式化.我使用一个程序将系统自动备份到外部服务器,所以我不担心丢失任何东西.他们重新格式化,我一直在把东西放回原处.
A few days ago I had an issue with my mac so I took it to the Genius bar at a local Apple store. They said the partitions failed on the hard drive and that it had to be reformatted. I use a program to automatically back up the system to an external server, so I wasn't concerned about loosing anything. They reformatted and I've been putting things back in place.
我无法弄清楚的事情.. 我有许多 Xcode 项目需要处理,但是当我尝试在 Xcode 中打开它们时,我得到了这个.
What I have not been able to figure out.. I have a number of Xcode projects that I need to work on but when I try to open them in Xcode I get this.
无法解锁文件project.xcworkspace".无法向文件添加写入权限,因为您不拥有它.尝试在 Finder 或终端中修改文件的权限.
我尝试在 finder 中解锁项目、主文件夹和 p.list 文件,并确保我具有读/写访问权限,但我仍然收到错误消息.
I tried unlocking the project, the main folder, and the p.list file in finder and making sure that I had read/write access but I'm still getting the error.
当他们重新格式化计算机时,它确实删除了我一直在寻找的所有密钥和证书,但我认为该软件不会备份计算机上的凭据,因此我认为我无法访问旧证书和键.
When they reformatted the computer it did erase all of the keys and certificates I've been looking but I don't think the software backs up the credentials on the computer so I don't think I can access the old certificates and keys.
有没有人遇到过这种情况?如何解锁文件?
Has anyone run into this before? How do I unlock the file?
推荐答案
请记住,该项目不仅仅是一个独立的.xcodeproj
"文件,它实际上是一个包含许多隐藏项目的文件夹.
Remember the Project isn't just a standalone ".xcodeproj
" file but it's actually a folder that contains a number of hidden items.
因此,在应用权限时,请确保对项目文件夹中的每个项目应用权限.
So when applying permissions, make certain to apply permissions to every item in your project folder.
您可以通过对封闭项目应用权限"弹出菜单(在获取信息"窗口中可用)执行此操作,如下所示:
You can do this via the "Apply Permissions to Enclosed Items" popdown menu (available in the "Get Info" window), which looks like this:
这篇关于解锁xcode文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!