Is it possible to have two projects in XCode using the same codebase?
I have an app which offers a demo version and a full version. They both share the same code and I just set a flag in my plist file, and somewhere in my code I do
if (demo_mode) {
// ...
} else {
// ...
}
This is easy for testing, but not suitable for the app store, since I want slightly different app icons and app names for them.
I could as well make a copy of the project, but then I'd have to apply changes in one project to the other (bugfixes, UI changes etc). That's why I want to use the same source folder for two projects.