Re: adding an OS X target to an iPhone project
Re: adding an OS X target to an iPhone project
- Subject: Re: adding an OS X target to an iPhone project
- From: Chris Espinosa <email@hidden>
- Date: Thu, 10 Dec 2009 09:32:49 -0800
On Dec 10, 2009, at 8:08 AM, James Bucanek wrote: I would suggest that these should be two projects. There are scores of build settings and other aspects of an iPhone and Mac OS X project that are fundamentally different. Trying to mix them in the same project seems like a recipe for disaster--which you've already discovered.
That's just not so. Projects are just containers for files and targets, and they can have top-level settings shared by all targets. But you do notneed to separate things into different projects, and in many cases (especially with a lot of shared code under SCM) it is inadvisable to do so.
Create one target for your iPhone app and one target for your Mac OS X app, cut your Project build settings down to the minimal common set, use the same sources in both targets, and (if you want) create an Aggregate Target that builds both.
Chris |
_______________________________________________
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