Re: XCode4 - Setup for 2 apps 1 framework
Re: XCode4 - Setup for 2 apps 1 framework
- Subject: Re: XCode4 - Setup for 2 apps 1 framework
- From: Christiaan Hofman <email@hidden>
- Date: Mon, 23 May 2011 19:01:23 +0200
On May 23, 2011, at 18:14, Bill Cheeseman wrote:
>
> On May 23, 2011, at 11:23 AM, Christiaan Hofman wrote:
>
>> I think the preferred way to do it is to have one workspace with three projects, one for each app and one for the framework
>
>
> I don't think that's really practical in the general case. Like the OP, I use frameworks across multiple applications. The frameworks are currently installed in the standard shared frameworks location, but for Mac App Store qualification I will have to go back to embedding them in each application separately as I did long ago. In my case, I have 2 shared frameworks, each in its own project, and 6 applications, each with its own project, that use either or both frameworks. Someday I may get up to 3 or 4 frameworks and 10 applications, who knows.
>
> The applications are unrelated, and I work on them separately, never simultaneously. It seems to me that many of the benefits of Xcode 4 workspaces would be lost if I had to put all 6 applications and both frameworks in a single workspace. Instead, I want to put 1 application (actually, along with 2 helper applications with their own projects, but which end up in the application package) and both frameworks in one workspace, another application and both frameworks in a second workspace, and so on.
>
> I have started down this road, but I haven't gotten very far yet, so I can't comment on whether or how well it works. I assume that I will have to be careful not to edit the frameworks in 1 workspace while I have another workspace open simultaneously, but I don't plan to do that. I also assume that I will have to be careful not to edit the frameworks in one workspace in a way that would be incompatible with the code in the other applications. The best way to ensure this, I assume, is to be disciplined about never editing the frameworks except in each framework's separate workspace.
>
> --
>
> Bill Cheeseman - email@hidden
>
Well, as the OP says, what you describe is not possible in Xcode 4 when you want to be able to edit more than one project at the same time, AOT Xcode 3 where this was possible. I can confirm his observation. Perhaps one should file a bug report, because I fail to see why this should not work.
So when the OP wants to be able to edit both app's projects at the same time a single combined workspace seems to be the only possibility in Xcode 4.
Perhaps in your case you could have multiple workspaces, each one combining one app with the framework(s) it uses. If Xcode 4 works properly, it should be able to see changes made in a project linked in one workspace also in another workspace, especially when they're not open at the same time. Though I have no experience with this, but if it would not work that would certainly qualify as a bug.
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