为什么我的产品中的目标是红色的? [英] Why are my targets in Products colored red?

查看:30
本文介绍了为什么我的产品中的目标是红色的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能的重复:
.app 文件显示为红色(缺少) 在 Xcode 4 的新项目中

在看似没有任何挑衅的情况下,我的层次结构的 Products 文件夹中的三个 .app 条目以红色列出.当我右键单击它们时,在 Finder 中显示会变灰,即使我先构建它们(构建成功,没有错误).

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).

知道发生了什么吗?

推荐答案

假设您在谈论 iOS 应用:

Assuming that you are talking about iOS apps:

Xcode 在 Products 文件夹中仅显示为设备构建的 .app.因此,如果您清洁产品然后为模拟器构建,它仍然是红色的.如果您为设备构建,Xcode 会显示它并且在 finder 中显示"也有效.

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.

这篇关于为什么我的产品中的目标是红色的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆