ImageIO: CGImageRead_mapData 'open' failed error = 2 on app start

主宰稳场 提交于 2019-12-11 11:26:39

问题


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.

in the log there are the following entries:

ImageIO: CGImageRead_mapData 'open' failed '/Applications/myApp.app/Icon.png' error = 2 (No such file or directory) libpng error: No IDATs written into file

i opened the folder and Icon.png exists!!

hope someone can help me :/


回答1:


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



来源:https://stackoverflow.com/questions/10652289/imageio-cgimageread-mapdata-open-failed-error-2-on-app-start

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!