ImageIO:CGImageRead_mapData'open'失败的错误= 2应用程序启动 [英] ImageIO: CGImageRead_mapData 'open' failed error = 2 on app start

查看:438
本文介绍了ImageIO:CGImageRead_mapData'open'失败的错误= 2应用程序启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了一个iphone应用程序,并用5.0构建它。
on 5.0.1它工作正常。当我尝试打开应用程序在5.1或5.1.1的应用程序崩溃瞬间。

i made an iphone app and build it with 5.0. on 5.0.1 it works fine. when i try to open the app on 5.1 or 5.1.1 the app crashes instantly.

有以下条目:

ImageIO:CGImageRead_mapData'open 'failed'/Applications/myApp.app/Icon.png'
error = 2(没有这样的文件或目录)
libpng错误:没有IDAT写入文件

我打开了文件夹,并且Icon.png存在!!

i opened the folder and Icon.png exists!!

希望有人可以帮助我:/

hope someone can help me :/

推荐答案

请在应用程序plist文件的图标文件下添加icon.png。

Please add icon.png in your application plist file under the row icon files.

这篇关于ImageIO:CGImageRead_mapData'open'失败的错误= 2应用程序启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆