由于强迫症偶尔会看到关于图片的报错信息(***.png):

类似于以下这样:

CopyPNGFile /Users/gongihou/Library/Developer/Xcode/DerivedData/KTVgo-frborfduejxrajgpkfdaipygijow/Build/Products/Debug-iphoneos/KTVgo.app/zhuangtai.png KTVgo/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/copypng emitted errors but did not return a nonzero exit code to indicate failure

错误图片

这是由于图片可能被压缩过,在Build Settings里搜索 :“Compress PNG files”

把它的值  设置为NO就好了

copypng emitted errors相关推荐

  1. xcode14 Command Swift Driver Compilation Requirements emitted errors but did not ret

    清除:User Header search Paths  :路径

  2. Command CompileAssetCatalog emitted errors but did not return a nonzero exit code to indicate failur

    今天在做UI,添加各式各样的图片的时候,Xcode10.1居然闪退了,然后我重新打开,build起我的项目,发现我项目全部的图片都不能显示了(ps:我真机调试开发). 解决方法很简单: command ...

  3. node.js事件驱动_了解Node.js事件驱动架构

    node.js事件驱动 by Samer Buna 通过Samer Buna 了解Node.js事件驱动架构 (Understanding Node.js Event-Driven Architect ...

  4. mac开发-install_name_tool: changing install names or rpaths can't be redone for:

    类似错误如下: error: install_name_tool: changing install names or rpaths can't be redone for: /Users/gense ...

  5. JNI:ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)

    1. 错误描述 ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) What ...

  6. Go 学习笔记(72)— Go 第三方库之 pkg/errors 带堆栈的错误处理

    包 github.com/pkg/errors 让开发人员很容易在 error 错误信息上带上堆栈信息,可以更快更准确定位错误,例如行号等信息. 如果项目代码比较复杂,且经常需要追踪 Bug,建议使用 ...

  7. Go 学习笔记(64)— Go error.New 创建接口错误对象、fmt.Errorf 创建接口错误对象、errors.Is 和 errors.As

    1. error 接口定义 除用 panic 引发中断性错误外,还可返回 error 类型错误对象来表示函数调用状态.error 接口是 Go 原生内置的类型,它的定义如下: // $GOROOT/s ...

  8. Lint found fatal errors while assembling a release target.

    错误如下 Lint found fatal errors while assembling a release target. To proceed, either fix the issues id ...

  9. tomcat报 Context [] startup failed due toprevious errors

    今天同事在实施项目中,遇到一个问题,就是项目布到tomcat服务器上了,却总是找不到访问路径.tomcat报 Context [] startup failed due toprevious erro ...

最新文章

  1. web 前端常用组件【06】Upload 控件
  2. Day7 - 面向对象编程进阶及其他相关
  3. CentOS 6快捷安装RabbitMQ教程
  4. 深入Atlas系列:探究序列化与反序列化能力(下) - JavaScriptSerializer
  5. (19)VHDL实现流水灯
  6. Android 系统性能优化(58)---开机时间优化
  7. Oracle DBHelper
  8. php往pdf模板添加数据,php实现往pdf中加数字签名操作示例【附源码下载】
  9. 欢迎访问我的个人主页 Welcome to my home
  10. Android kotlin 系列讲解(基础篇) Any和Any?
  11. PL330 DMAC笔记(3) - 外设请求接口,事件和中断,Abort
  12. c语言 strcpy作用,c语言中的strcpy什么意思,简单点解释
  13. 计算机函数LEN的意思,python的len函数什么意思
  14. [python]一个特别好的学习python网站
  15. 计算机专业的励志人物,北京科技大学计算机与通信工程学院-【毕业学子未来路】王禹:保入中科院的全国大学生励志人物...
  16. 密码算法测试向量——HMAC-SHA系列
  17. 为2020年的第一场雪锦上添花:用 matplotlib 绘制雪花和雪景
  18. Keystore file ‘D:\ruhai\xx.jks‘ not found for signing config ‘debug‘
  19. AVKiller病毒的清除
  20. 关于Android Studio 模拟器“ANDROID SDK_ ROOT”的问题

热门文章

  1. 类设计原则及设计模式(一篇就够)
  2. 我的一篇旧作——卢老师
  3. ipsec-***过程
  4. 2023华为od面经~ (笔试 HR资面 技术面 一面 二面 综面)
  5. 本人已搬至博客园,感谢CSDN的一路陪伴
  6. 从猎豹移动到瑞幸咖啡,看中国企业在海外的信誉破产
  7. cad和html5哪个好,最好用的5个CAD软件 你用的是哪款呢
  8. 程序员转行量化交易可行吗?
  9. 鼠标能动但是无法点击屏幕(间歇性)
  10. android 简单拍照,android实现简单拍照功能