(null): While reading /Users/lewiselliott/Desktop/Final Version/2bm/2bm/static.png pngcrush caught libpng error:
(null): Could not find file: /Users/lewiselliott/Desktop/Final Version/2bm/build/Debug-iphoneos/2bm.app/static.png
Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng emitted errors but did not return a nonzero exit code to indicate failure
这是什么意思,为什么它才刚刚开始出现,我该如何解决?
最佳答案
我遇到了这个问题。为同一图像添加了两个目标。转到项目目标 -> 构建阶段 -> 复制捆绑资源并搜索您的图像文件名。很可能有两个条目。删除一个。
关于objective-c - 与 xcode 中的图像、未分类、pngcrush 和复制 png 文件错误有关的奇怪错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12180675/