• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: adding an OS X target to an iPhone project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: adding an OS X target to an iPhone project
      • From: Karolis Ramanauskas <email@hidden>
References: 
 >Re: adding an OS X target to an iPhone project (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: Converting Xcode paths to usable paths
  • Next by Date: Re: SCM Error 150000 ("pbxuser is not under version control")
  • Previous by thread: Re: adding an OS X target to an iPhone project
  • Next by thread: Re: adding an OS X target to an iPhone project
  • Index(es):
    • Date
    • Thread