Best Practice: How to handle code differences for iOS App when creating free and paid version?
问题 I want to release two versions, of my iOS App on the AppStore. One is paid and other is free. As of now my code is finished for the paid App. Now I want to add more code for iAd and InAppPurchase's for the free app. What is the best approach for maintaining the two versions? I was thinking about copying the Xcode Project or creating a branch in my git repo. 回答1: If you branch or copy the project you're creating a maintenance nightmare for yourself down the road. Create a separate target in