I do something like this all the time. I’d recommend having two targets in the same project. Each target will have it’s own build product.
Files that are part of both versions of the app should be included with both targets:
- While editing the *.m file
- Open the Utilities pane (menu on the right side of Xcode)
- Select the first tab (File inspector)
- Edit the “Target Membership” section
Files that are specific to one version of the app should only be included in the respective target.
You’ll also have a build scheme for each target that should be automatically created.
Lead Software Engineer & Instructor
Big Nerd Ranch, Inc.