I am trying to duplicate an Xcode target (Xcode 4.3.2) in order to make a free version of my iPhone App.
In Xcode, I have selected the old target, right clicked, and then "duplicated". As a result, I got myapp copy.app and myapp copy-info.plist.
However, the name myapp copy.app is printed in red (even after the build). I guess it indicates that the file is missing!
Question 1: How can I solve the above problem?
Question 2: How can I change the name of the new target?
I can answer Question 2. You can change the target name from the project editor. Select your project from the project navigator on the left side of the project window to open the project window. Select the target from the target list on the left side of the project editor. Press the Return key to rename the target.
Unfortunately when you rename the target, Xcode doesn't rename related files, such as the info.plist file. You're going to have to rename the info.plist file using the file inspector. You also have to rename the scheme Xcode created for the target. Click on the Scheme menu in the toolbar and choose Manage Schemes to rename the scheme.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With