Adi Adi - 3 years ago 151
iOS Question

Reference files from one project to another in Xcode

I have an iOS app which is branded for different clients. This means that the Base code is the same for most of the clients, but the graphics are different and some custom code.

What I would like to do is to keep the Base code in one project, and for each client create another project with custom graphics and code.

I think such a thing would be simpler with Java and Eclipse, but is it possible to do this in Xcode without creating a framework for the Base code?

Answer Source

When I've done something like this, I've used "targets" within a single project. For each target I define which files are compiled/copied.

To keep things organized, I put target-specific files in their own directories on disk and create matching groups in the project.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download