IOS开发真机调试 png图片问题

IOS开发真机调试 png图片问题

问题:

CopyPNGFile/Users/gongihou/Library/Developer/Xcode/DerivedData/KTVgo-frborfduejxrajgpkfdaipygijow/Build/Products/Debug-iphoneos/KTVgo.app/zhuangtai.pngKTVgo/zhuangtai.png
  cd/Users/gongihou/Documents/910
  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/gongihou/Documents/910/KTVgo/zhuangtai.png/Users/gongihou/Library/Developer/Xcode/DerivedData/KTVgo-frborfduejxrajgpkfdaipygijow/Build/Products/Debug-iphoneos/KTVgo.app/zhuangtai.png


  Not a PNG filCommand/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypngemitted errors but did not return a nonzero exit code to indicatefailure
解决方案:
把工程中,Compress PNG files 设置为NO即可。
可能你的图本来就是被压缩过的

你可能感兴趣的:(IOS开发真机调试 png图片问题)