Re: Build target question
Re: Build target question
- Subject: Re: Build target question
- From: Karolis Ramanauskas <email@hidden>
- Date: Mon, 23 Nov 2009 21:02:43 -0600
Perhaps not quite what you need but I am working on code for iPhone and OSX
in parallel and I am using one main.m, one Prefix.pch. I believe you will
need several info.plist files because target specific stuff lives in them,
this is easy though because you point to info.plist from the target info
panel's build tab.
You may need to find a way to separate what part of prefix.pch or main.m is
meant for which target. I am doing this with:
#if TARGET_OS_IPHONE
you may need some other #if statements or may not, since you are not
building for a different platform.
Karolis
On Mon, Nov 23, 2009 at 7:51 PM, Michael Davey <email@hidden> wrote:
> I am about to add a new target to my project as it will be re-using a lot
> of the code generated from my server application and I do not want to start
> creating duplicate copies of classes that I am writing. So far, so good, I
> am finding my way around making my new target, but have a quick question
> about sharing...
>
> Is it possible for me to use the same main.m Prefix.pch and Info.plist file
> in both of my applications or will that muck things up?
>
> regards,
>
> Mikey_______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden