55

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?

David
  • 14,205
  • 20
  • 97
  • 144

6 Answers6

134

Quitting the xcode completely and opening it up again worked.

Mojtaba Hosseini
  • 95,414
  • 31
  • 268
  • 278
user906825
  • 1,526
  • 1
  • 10
  • 6
  • 2
    My issue was that I tried open workspace without closing main project. How I fix it, I close all from Xcode (Xcode-Quit) and than open only workspace. If you try open workspace and you project together you will faced with error – Sirop4ik Dec 21 '16 at 10:03
24

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
Adam Waite
  • 19,175
  • 22
  • 126
  • 148
  • This happens when you open first a project withing the Workspace. And then try to open the workspace. I did not know I had to open the workspace but this solved the problem. – Vicro Jul 02 '17 at 08:57
3

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

Adriana
  • 225
  • 3
  • 8
  • 7
    You probably close the Xcode window and no Xcode complitly. use Xcode -> Quit Xcode – shem Oct 09 '12 at 15:02
1

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.

GTAE86
  • 1,780
  • 3
  • 29
  • 39
1

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

slobodans
  • 859
  • 1
  • 17
  • 23
0

Restart the computer and try again opening the project :)

rockdaswift
  • 9,613
  • 5
  • 40
  • 46