Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

One Xcode project, Two targets, Two apps, Two Default.png files? [duplicate]

Tags:

xcode

iphone

Possible Duplicate:
iPhone - multiple targets multiple launch images nightmare

I'm working on an iPhone app that will ship with a "Lite" and "Pro" version. To accomplish this I'm using two targets with the same project and codebase. I would like to use a different "loading" Default.png image for the two versions of the app, but I'm not sure how to do this short of manually overwriting the file before building each target. Is there some way this could be automatically done during the build process?

like image 210
pix0r Avatar asked Apr 24 '09 04:04

pix0r


1 Answers

Figured it out - easiest solution is to create two separate directories, one "lite" and one "pro", and put a Default.png in each directory. Import "pro" to only the "pro" target, and import "lite" only to the "lite" target.

like image 147
pix0r Avatar answered Oct 05 '22 22:10

pix0r