Re: Trouble adding a project to a workspace
Re: Trouble adding a project to a workspace
- Subject: Re: Trouble adding a project to a workspace
- From: Christiaan Hofman <email@hidden>
- Date: Wed, 20 Jul 2011 20:01:45 +0200
On Jul 20, 2011, at 19:43, Jens Alfke wrote: On Jul 20, 2011, at 9:21 AM, I wrote: The problem is, after creating the workspace (in the same folder as B.xcodeproj) and adding B to it, I can’t manage to add A.xcodeproj. Or rather, I can add A, but it shows up as a single icon, not as a full-fledged project item that I can unfold the way I can B. It’s like it added it as some useless source file inside B.
I figured it out: this happens if project A is already open in its own window. But if I first close project A, then drag its Finder icon into the workspace, it gets added as a proper project.
Even weirder, if after I do this I open project B again (from the File > Open Recent submenu), its project window opens incorrectly, with nothing in the left sidebar except a project icon (that does nothing when selected).
I can understand if Xcode doesn’t want to have a project open in two windows at once, but the UI it’s using to prevent this is (to me) extremely confusing. I’d rather get an error alert than have the second instance of the project become an inert icon.
—Jens
As was said before on this list, you currently cannot have different workspaces that contain the same project open at the same time. So it follows that if you change a workspace to try and create such a situation you will fail.
But I agree that the way to handle things that are not supported is of course not doing it and showing an error alert to tell the user why. Failing by getting into a bad state is a bug, and should be supported.
Christiaan
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden