• 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
How to combine Mac and iPhone targets in one project?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to combine Mac and iPhone targets in one project?


  • Subject: How to combine Mac and iPhone targets in one project?
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 17 Feb 2010 11:04:40 -0800

Whee, it's my turn to ask a dumb newbie question: How do I combine Mac OS and iPhone targets in a single project file? I have several libraries that support both platforms, and I've been using separate project files to build them on each platform since that's the way it had to be done back in the day, but I've heard that Xcode 3.2 supports putting both in a single project.

In Xcode 3.2 on OS X 10.6.2, I can use the New Target... assistant to add an iPhone static library target to my existing Mac project. But the SDK is still restricted to OS X 10.5 or 10.6, so it doesn't actually build it for iPhone. I can go into the project inspector and change the base SDK to an iPhone platform, but that forces my existing Mac targets to use the iPhone SDK.

What am I missing? There's got to be a way to make different targets build for different platforms, right?

—Jens _______________________________________________
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: How to combine Mac and iPhone targets in one project?
      • From: Jocelyn Houle <email@hidden>
  • Prev by Date: Re: Code Signing for Mac application
  • Next by Date: Re: How to combine Mac and iPhone targets in one project?
  • Previous by thread: Re: UITableViewDelegate and selection under editing
  • Next by thread: Re: How to combine Mac and iPhone targets in one project?
  • Index(es):
    • Date
    • Thread