Search code examples
xcodexcode4

Why are my targets in Products colored red?


Possible Duplicate:
.app file appears in red (missing) in new projects with Xcode 4

With seemingly no provocation, the three .app entries in the Products folder of my hierachy are listed in red. Show In Finder is greyed out when I right click them, even if I build them first (and building is successful, no errors).

Any idea what's happening?


Solution

  • Assuming that you are talking about iOS apps:

    Xcode shows only the .app built for the device in the Products folder. So if you clean the product and then build for Simulator, it will still be red. If you build for the device, Xcode will show it and "show in finder" also works.