ios 真机调试时出现CopyPngFile error解决方法
来源:互联网 发布:python c4.5算法 编辑:程序博客网 时间:2024/05/01 00:32
原文链接:http://blog.csdn.net/kylinbl/article/details/8990832
应用在在模拟器上调试一点问题没有,但一放到真机上调试就出现copypngfile 的错误,错误信息如下:
CopyPNGFile /Users/gongihou/Library/Developer/Xcode/DerivedData/DLZ-frborfduejxrajgpkfdaipygijow/Build/Products/Debug-iphoneos/DLZ.app/zhuangtai.png DLZ/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/DLZ/zhuangtai.png /Users/gongihou/Library/Developer/Xcode/DerivedData/DLZ-frborfduejxrajgpkfdaipygijow/Build/Products/Debug-iphoneos/DLZ.app/zhuangtai.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
说是读取的时候没有找到这张图片,检查了一下图片路径,没有问题,于是google之,找到两种解决方法 :
1.在build settings里把工程里的Compress PNG files设置为NO,问题解决,但这样设置以后,弄出来的ipa会很大,感觉不是很理想。
2.mac上的preview(预览)打开出问题的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解决方法
- iOS 真机调试时出现CopyPngFile error解决方法 (三种)
- 调试时出现CopyPngFile error解决方法
- ios 出现CopyPngFile error解决方法
- ios 出现CopyPngFile error解决方法
- ios 出现CopyPngFile error解决方法
- ios 出现CopyPngFile error解决方法
- android真机调试出现offline解决方法
- ios真机调试时:error fail to launch **
- iOS真机调试出错解决方法
- xcode目标调试时未出现ios真机设备
- 七个高效的文本编辑习惯(以Vim为例)
- Solr\Lucene优劣势分析
- hpux 11.31 superdome9000 IA mirror
- 互点流量,互刷排名,刷下拉刷联想-胖虎图图-互动点击系统
- ADC 检测 ---SONIX-查询方式
- ios 真机调试时出现CopyPngFile error解决方法
- 刷关键词排名就用【胖虎图图-互动点击专家】
- USACO Training 3.2.2 Stringsobits 01串 题解与分析
- 刷淘宝排名就用【胖虎图图-互动点击专家】
- AS3 打印一首诗
- POJ_3518_Prime Gap(Miller-Robin素性测试)
- 刷百度相关搜索就用【胖虎图图-互动点击系统】
- 贴瓷砖1
- 淘宝刷流量软软件,互刷点击量,直通车点击系统【胖虎图图-互点专家】