How to combine Mac and iPhone targets in one project?
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