For one of our company's products we need to generate iOS apps with slight changes (different logos, slightly different settings in the Info.plist, etc.); but basically they are all based on the same source code.
Now that we are starting to get some traction, it becomes slightly annoying to have like 20-30 different schemes and targets in the main Xcode project - plus it's a pain to have colleagues modify it, because it tends to break things now and then.
Unfortunately I'm not very familiar with Xcode's inner guts; but I'm pretty sure someone else already has solved this before.
Some ideas that came to my mind:
- Have a separate Xcode project and...
- ... import the "base code" using a Framework/Library.
- ... add the "base code" as a project (Dependencies?)
Not sure what the best practice is here; ideally there would be a clear separation of the project code and configuration of customer app targets. More ideally this would be a maintainable by co-workers without the risk of breaking the base code accidently.
Any ideas/thoughts/suggestions?