I have just made an app and now I’m planning to make a ‘pro’ version of it, so I want to copy my Xcode project and rename it.
I was just wondering what the easiest way is to go about doing this. Obviously there are a lot of different references to the name throughout the project and I don’t really want to spend ages searching through, updating them all.
Please can you suggest the easiest steps to take in order to copy ‘App Basic’ to ‘App Pro’? Or is there a better/preferred method to create a ‘pro’ version of an app with subtle differences?
Thanks in advance!
The best way to do this is to create a second target in the same Xcode project. You can then define two preprocessor macros (e.g.:
APP_VERSION_LITE&APP_VERSION_PRO) and do compile time switching using#ifdef APP_VERSION_PROetc.In your app delegate you can define a string with your application name
You can also include files (including resources and classes) only in one of the two targets.