相关疑难解决方法(0)

Xcode警告:"输出文件的多个构建命令"

我收到这样的错误:

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

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

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

但我检查过Xcode,我根本没有看到任何重复的文件.正如Apple Mailing Lists中的这篇文章所说,没有重复.

xcode warnings build

492
推荐指数
11
解决办法
13万
查看次数

CopyPNGFile错误

当我归档应用程序时,我得到了我项目中所有图像的CopyPNGerror.我尝试了删除所有图像,再次添加它们,检查构建阶段(复制捆绑资源).没有找到重复项.我无法理解如何进一步做什么提交应用程序.当我将具有相同图像存档的另一个应用程序存档成功时

CopyPNGFile "/Users/admin/Library/Developer/Xcode/DerivedData/App1-auevnkwujohdqtflzyputmxbvrmt/Build/Intermediates/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App1.app/about2 copy.png" "Classes/../about2 copy.png"
    cd "/Users/admin/Documents/App/App (1)"
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng -compress "" "/Users/admin/Documents/App/App (1)/Classes/../about2 copy.png" "/Users/admin/Library/Developer/Xcode/DerivedData/App1-auevnkwujohdqtflzyputmxbvrmt/Build/Intermediates/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App1.app/about2 copy.png"

Could not open output file /Users/admin/Library/Developer/Xcode/DerivedData/App1-auevnkwujohdqtflzyputmxbvrmt/Build/Intermediates/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App1.app/about2 copy.pngCommand /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng failed with exit code 1
Run Code Online (Sandbox Code Playgroud)

我该怎么做才能解决这个错误?

iphone ios xcode4.5

11
推荐指数
4
解决办法
2万
查看次数

标签 统计

build ×1

ios ×1

iphone ×1

warnings ×1

xcode ×1

xcode4.5 ×1