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: Han Ming Ong <email@hidden>
- Date: Wed, 20 Jul 2011 10:28:25 -0700
On Jul 20, 2011, at 9:21 AM, Jens Alfke wrote:
> I’ve got a project A that builds a library. Now I’m creating an app project B that uses this library. I want to set up dependencies so that building app B will cause library A to get rebuilt, if necessary. Apparently the Xcode 4 Way to do this is to make a workspace, add projects A and B to it, then create a scheme for B and enable automatic dependencies. Fine.
>
> 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.
>
> What’s going wrong here? Is it because A.xcodeproj is not in the same folder as the workspace file? If so, how does one create a workspace combining separate projects that don’t happen to be in the same folder tree?
That should work. Are there any exception messages in the Console?
Can you try these very simple steps first:
- create 2 simple projects from template.
- create a workspace.
- drag the 1st project from the Finder into the workspace.
- drag the 2nd project. This could be a bit tricky in terms of the drop zone if you want project 1 and 2 to be siblings. Move your mouse more to the right so that the drop zone lined up.
thanks, Han Ming _______________________________________________
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