[绍棠] ios 真机调试时出现CopyPngFile error解决方法
2017-10-27 09:51
567 查看
Command /Applications/Xcode.app/Contents/Developer/usr/bin/copypng failed with exit code 2
mac上的preview(预览)打开出问题的png文件, 在真机上运行会报这个错误
解决办法:
方法一:
在build settings里把工程里的Compress
PNG files设置为NO,问题解决,但这样设置以后,弄出来的ipa会很大,感觉不是很理想。
方法二:
打开出问题的png文件,然后重新导出为png文件或者用photoshop把png图片保存为NOT
INTERLACED(不交错)的,这样真机调试时就没有错误了。
mac上的preview(预览)打开出问题的png文件, 在真机上运行会报这个错误
解决办法:
方法一:
在build settings里把工程里的Compress
PNG files设置为NO,问题解决,但这样设置以后,弄出来的ipa会很大,感觉不是很理想。
方法二:
打开出问题的png文件,然后重新导出为png文件或者用photoshop把png图片保存为NOT
INTERLACED(不交错)的,这样真机调试时就没有错误了。
相关文章推荐
- ios 真机调试时出现CopyPngFile error解决方法
- iOS 真机调试时出现CopyPngFile error解决方法 (三种)
- ios 真机调试时出现CopyPngFile error解决方法
- ios---真机调试时出现CopyPngFile error解决方法
- ios 真机调试时出现CopyPngFile error解决方法
- ios 真机调试时出现CopyPngFile error解决方法
- iOS 真机调试时出现CopyPngFile error解决方法
- ios 真机调试时出现CopyPngFile error解决方法
- 调试时出现CopyPngFile error解决方法
- ios 出现CopyPngFile error解决方法
- ios 出现CopyPngFile error解决方法
- ios 出现CopyPngFile error解决方法
- 在真机调试时遇到CopyPNGFile Error问题时
- STM32用IAR调试出现Error[Pe020]: identifier "FILE" is undefined 解决方法
- STM32用IAR调试出现Error[Pe020]: identifier "FILE" is undefined 解决方法
- ios在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"解决办法(转)
- ios在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"解决办法
- STM32用IAR调试出现Error[Pe020]: identifier "FILE" is undefined 解决方法
- ios在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"解决办法(转)
- 在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"的解决方法