X code警告:"对于输出文件&QUOT多个生成命令; [英] Xcode warning: "Multiple build commands for output file"

查看:107
本文介绍了X code警告:"对于输出文件&QUOT多个生成命令;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到一个错误这样的:

I am getting an error like this:

[WARN]警告:输出文件/Developer/B/Be/build/Release-iphonesimulator/BB.app/no.png多个生成命令

[WARN]Warning: Multiple build commands for output file /Developer/B/Be/build/Release-iphonesimulator/BB.app/no.png

[WARN]警告:输出文件/Developer/B/Be/build/Release-iphonesimulator/BB.app/d.png多个生成命令

[WARN]Warning: Multiple build commands for output file /Developer/B/Be/build/Release-iphonesimulator/BB.app/d.png

[WARN]警告:输出文件/Developer/B/Be/build/Release-iphonesimulator/BB.app/n.png多个生成命令

[WARN]Warning: Multiple build commands for output file /Developer/B/Be/build/Release-iphonesimulator/BB.app/n.png

但我已经检查X code和我没有看到这样的文件的任何重复的。由于在苹果的邮件列表这个帖子说,还有没有重复。

But I have checked Xcode and I don't see any duplicates of such files at all. As this post in the Apple Mailing Lists say, there are no duplicates.

推荐答案

其实这个问题的答案很简单。

Actually The answer to this is very simple.

在你的X code搜索这引起了警告的文件,只删除它。

In your xcode search for the files which raises the warning, and just delete it.

在X code将只显示一个在搜索结果中该文件的参考,但不要就此打住,继续和删除。 (最好做一个备份,删除操作之前,您的项目文件)

The Xcode will show only one reference of that file in the search results, but dont stop there, go ahead and delete it. (better make a back up to your project file before delete operation)

现在做一个构建,你会看到删除该警告。
(这个答案对于x code的previous版)

Now do a build, you will see the warning removed. (this answer is for a previous version of xcode)

这篇关于X code警告:"对于输出文件&QUOT多个生成命令;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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