Search code examples
iphonexcodexcode4

On duplicating an Xcode product. Why is the name red, and how can I change the name?


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?


Solution

  • I think the .app file becomes active (not red in color) only when you build for device. Change your build setting to iOS Device instead of simulator and you should see a .app created inside the Debug-iphoneos folder in the Build directory. HTH.