iPad:PNG Crush错误 [英] iPad: PNG Crush error

查看:99
本文介绍了iPad:PNG Crush错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将我的iPad项目移植到最新的iPad 2.我安装了带有Xcode 4.0的iOS 4.3 SDK。当我尝试构建我的项目时,我收到以下错误。我不知道为什么我会收到这个错误。有人可以帮我解决这个构建错误吗?

I am trying port my iPad project to latest iPad 2. I installed iOS 4.3 SDK with Xcode 4.0. When i try to build my project, i'm getting the following error. I don't know why am i getting this error. Could someone help me to resolve this build error?


阅读/ Users / username / Desktop / iPAD / MyProject / trunk / Resourses / images /top_bar.png pngcrush抓到了libpng错误:
不是PNG文件..

While reading /Users/username/Desktop/iPAD/MyProject/trunk/Resourses/images/top_bar.png pngcrush caught libpng error: Not a PNG file..

找不到文件:/ Users / username / Library / Developer / Xcode / DerivedData / Project-fmhveawksgdtnraclfizuhrekmzi / Build / Products / Debug-iphoneos / MyApp-Upgraded.app / top_bar.png

Could not find file: /Users/username/Library/Developer/Xcode/DerivedData/Project-fmhveawksgdtnraclfizuhrekmzi/Build/Products/Debug-iphoneos/MyApp-Upgraded.app/top_bar.png

推荐答案

您是否检查文件 Users / kavapanga / Desktop / iPAD / ALN II 3最新2 / trunk / Resourses / images / CS_logo_for_top_bar.png 是否存在?还要检查它是否是PNG文件。右键单击该文件并执行获取信息以检查该文件是否具有任何其他扩展名并标记为隐藏扩展名。如果您不确定文件的格式,打开文件并将其另外保存为PNG文件应该可以在大多数时间使用。

Did you check whether the file Users/kavapanga/Desktop/iPAD/ALN II 3 latest 2/trunk/Resourses/images/CS_logo_for_top_bar.png exists? Also check if it is infact a PNG file. Right click on the file and do a Get Info to check if the file has any other extension and is marked as hide extension. If you are not sure of the format of the file, opening the file and save it as a PNG file again should work ,most of the time.

这篇关于iPad:PNG Crush错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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