Hon*_*ney 11 iphone ios xcode4.5
当我归档应用程序时,我得到了我项目中所有图像的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)
我该怎么做才能解决这个错误?
小智 19
解决了这里 - > /sf/answers/1280799131/
我删除了png文件中的重复引用!
Build Phases -> Copy Bundle Resources
Run Code Online (Sandbox Code Playgroud)
并删除了午餐图像DefaultXX.png的所有重复条目
要解决此问题,请在 Photoshop 或 gimp 或任何类似的图像编辑器中打开您的图像 (about2 copy.png)。保存(另存为)图像时,将其检查为NOT INTERLACED。
再次构建您的项目将消除错误。