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

天大地大妈咪最大 提交于 2019-12-06 18:12:30

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/11754880/why-are-my-targets-in-products-colored-red

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!