Re: How to combine Mac and iPhone targets in one project?
Re: How to combine Mac and iPhone targets in one project?
- Subject: Re: How to combine Mac and iPhone targets in one project?
- From: Jens Alfke <email@hidden>
- Date: Thu, 18 Feb 2010 10:48:31 -0800
Jocelyn gave me some clues that helped me figure it out. The key thing is that any iPhone target's "Base SDK" build setting has to be set to one of the iPhone SDKs. Which sounds obvious; but if you create an iPhone static-library target, that setting is not defined, so it defaults to the project's base SDK, which in this case is Mac OS.
(Creating an iPhone app target does set an appropriate value for Base SDK, so I think this is a mistake in Xcode's iPhone static-library target template.)
Once you have targets with both iPhone and Mac base SDKs, Xcode's UI will start allowing you to choose from both sets of SDKs.
—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