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 protected]> 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 protected]) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/karolisr%40gmail.com > > This email sent to [email protected] > _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
