Couldn't load a xcode project because it is already opened from another project or workspace

六眼飞鱼酱① 提交于 2019-11-29 10:33:32

问题


I have a project that has one target dependency. The target dependency is dependent on a framework called Three20.

The dependency tree looks like this.

myProject
   -> myCustomFramework
         -> Three20

When I tried to build and run I get the following error message.

Workspace Integrity Couldn't load Three20.xcodeproj because it is already opened from another projet or workspace.

I have only one project open. Any suggestions on why I am getting this message?


回答1:


I had the exact same problem. Quitting the xcode completely and opening it up again worked.




回答2:


Quitting Xcode alone didn't work for me. What I did was:

  1. File->Close Workspace/Project on every open workspace.
  2. Xcode->Quit
  3. Open Xcode again and open troublesome workspace



回答3:


I have close the Xcode completely but IT didn't work. I have killed the procces and It did finally!!! :-)




回答4:


Had the same problem in a case where I got a workspace working, closed it, copied the containing folder to a USB drive, then reopened. I got that message for one of the projects in the workspace. Closed, tried again, removed/re-added project - no luck. Closed, tried to open the project alone and got the message about it being open in another workspace - not true. Quit XCode, restarted by double-clicking my workspace in Finder, and all went well after.




回答5:


I had same problem. Fixed after updating of cocoa pods with pod update command.




回答6:


Restart the computer and try again opening the project :)



来源:https://stackoverflow.com/questions/6820460/couldnt-load-a-xcode-project-because-it-is-already-opened-from-another-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!