相关疑难解决方法(0)

使用Xcode 4构建应用程序 - 它总是显示有关PNG图像的一些错误

当我使用Xcode 4构建我的应用程序时,它总是显示以下错误消息:

CopyPNGFile /Users/michaelchen/Library/Developer/Xcode/DerivedData/iMusicBox-boeawugacmhacbdtyymnprzfobyq/ArchiveIntermediates/iMusicBox/InstallationBuildProductsLocation/Applications/iMusicBox.app/list_cell.png Images/list_cell.png
    cd /Volumes/WORK/Works/iMusicBox
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    "/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng" -compress "" /Volumes/WORK/Works/iMusicBox/Images/list_cell.png /Users/michaelchen/Library/Developer/Xcode/DerivedData/iMusicBox-boeawugacmhacbdtyymnprzfobyq/ArchiveIntermediates/iMusicBox/InstallationBuildProductsLocation/Applications/iMusicBox.app/list_cell.png
Run Code Online (Sandbox Code Playgroud)

检查/Volumes/WORK/Works/iMusicBox/Images/list_cell.png pngcrush中的alphas时检测到libpng错误:图像数据不够

但Xcode 3.2没关系 - 为什么?

xcode xcode4

88
推荐指数
7
解决办法
4万
查看次数

我如何修复CopyPNG File的错误?

在阅读/ Users/user/Desktop/AppProject/PruebaApp/Logo Retina.png时

pngcrush 抓住了libpng错误:

Read Er找不到文件:/Users/user/Library/Developer/Xcode/DerivedData/PruebaApp-cblepoaxbqzyopcbcswwqjtftyon/Build/Intermediates/ArchiveIntermediates/MaderoAPP/InstallationBuildProductsLocation/Applications/MaderoAPP.app/Logo Retina.png

命令

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng发出错误但未返回非零退出代码以指示失败

我在归档项目时遇到这些错误,最后它会存档但我想摆脱它.我之前遇到了应用程序的麻烦,我读到我应该删除DerivedData /(myproject)文件夹,所以我做了.并且显然它正试图在该文件夹中查找图像如何解决这个问题?救命!

xcode ios

31
推荐指数
3
解决办法
4万
查看次数

不是PNG filCommand copypng发出错误但没有返回非零退出代码来指示失败

我在iPad上运行项目时添加图像时出现以下错误.它在所有图像的模拟器上运行良好,但在iPad上运行但没有显示图像.

CopyPNGFile /Users/user/Library/Developer/Xcode/DerivedData/RImageGallery-cmwaittvclhwgxfpcoarddipyliv/Build/Products/Debug-iphoneos/RImageGallery.app/Default.png PhotoBrowserDemo/Default.png
    cd /Users/user/Desktop/Demo
    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/user/Desktop/Demo/PhotoBrowserDemo/Default.png /Users/user/Library/Developer/Xcode/DerivedData/RImageGallery-cmwaittvclhwgxfpcoarddipyliv/Build/Products/Debug-iphoneos/RImageGallery.app/Default.png

   Not a PNG filCommand /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng emitted errors but did not return a nonzero exit code to indicate failure




(null): While reading /Users/user/Desktop/Demo/PhotoBrowserDemo/Default.png pngcrush caught libpng error:




(null): Could not find file: /Users/user/Library/Developer/Xcode/DerivedData/RImageGallery-cmwaittvclhwgxfpcoarddipyliv/Build/Products/Debug-iphoneos/RImageGallery.app/Default.png




Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng emitted errors but did not return a nonzero exit code to indicate failure
Run Code Online (Sandbox Code Playgroud)

iphone default.png ipad ios ios6

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

Splash Image命名冲突和PNG压缩错误

我正在使用xCode5在我的一个Universal项目中添加启动图像.

当我添加启动图像时iPhone Non-Retina (iOS 6.1 or prior),xCode要求我将图像重命名为Default.png(足够好)

我为iPhone添加了所​​有其他图像.

当我添加splash图像时iPad Portrait Non-Retina (iOS 6.1 or prior),xCode再次要求我将文件重命名为Default.png并将其放在子目录中.

现在,当我尝试构建项目时,由于文件名相同,它会产生PNG Crush错误.

这是确切的错误: While reading /Volumes/iosWorkspace/projectName/projectName/Default@2x.png pngcrush caught libpng error: Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng emitted errors but did not return a nonzero exit code to indicate failure

xcode ios

3
推荐指数
1
解决办法
3059
查看次数

标签 统计

ios ×3

xcode ×3

default.png ×1

ios6 ×1

ipad ×1

iphone ×1

xcode4 ×1