zoukankan      html  css  js  c++  java
  • 【Unlock xcode files?】

    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.

    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.

    The file "project.xcworkspace" could not be unlocked. Could not add write permission to the file because you do not own it. Try modifying the permissions of the file in the Finder or Terminal.

    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?

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------

    1 Answer

    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:

    Apply Permissions to Enclosed Items

    share|improve this answer
    answered Nov 25 '13 at 0:05

    终身学习者
  • 相关阅读:
    linux中解压.tgz, .tar.gz ,zip ,gz, .tar文件
    hook(v16.7测试)?
    React优点?
    Overload和Override的区别。Overloaded的方法是否可以改变返回值的类型?
    说说数据库连接池工作原理和实现方案?
    short s1 = 1; s1 = s1 + 1;有什么错? short s1 = 1; s1 += 1;有什么错?
    Oracle的数据优化(经常被问到)?
    存储过程和函数的区别?
    Collection 和 Collections的区别?
    说说数据库连接池工作原理和实现方案?
  • 原文地址:https://www.cnblogs.com/zuixinxian/p/4781058.html
Copyright © 2011-2022 走看看