Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why are my targets in Products colored red? [duplicate]

Tags:

xcode

xcode4

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?

like image 534
Luke Avatar asked Aug 01 '12 07:08

Luke


1 Answers

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.

like image 81
Martin R Avatar answered Nov 16 '22 14:11

Martin R