Xcode 4.5 - CopyPNGFile仍然存在。需要新的想法 [英] Xcode 4.5 - CopyPNGFile persists. Need new ideas
本文介绍了Xcode 4.5 - CopyPNGFile仍然存在。需要新的想法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在制作一个iPad应用程序并且它在模拟器上运行,但是当我尝试为设备构建它时失败了。
I'm making an iPad app and it runs on the simulator, but fails when i try building it for the device.
错误如下:
这些是我试图纠正这个问题的事情:
These are the things i've tried to rectify this issue:
- 使用Photoshop浏览每个PNG文件,并在没有隔行扫描的情况下再次保存它们
- 删除了我的Resources文件夹中的所有图像通过再次拖放图像再次添加它们
- 删除所有PNG图像(离开JPG)并且它可以正常工作......当我添加一个PNG时,Xcode会抛出一个混合物。
- 删除了我的~Library / Developer / Xcode中的derivedData
- 退出Xcode并再次尝试
- 重启我的电脑再试一次。
- went through every PNG file with Photoshop and saved them again w/o the interlace
- Deleted all the images in my Resources folder and added them again by dragging/dropping the images again
- Deleted ALL PNG images (left the JPGs) and it works...when i add one PNG, Xcode throws a hissy fit.
- Deleted the derivedData in my ~Library/Developer/Xcode
- quit Xcode and tried again
- restarted my computer and tried again.
我试过检查路径,但我不确定。任何想法都会很棒。
i tried checking about the paths, but i'm not sure. Any ideas would be great please.
附录
i还想补充一点,Xcode会针对自己的Default @ 2x抛出错误。 png和Default.png!
Addendum i also want to add that Xcode is throwing errors against its own Default@2x.png and Default.png!
推荐答案
这与丢失的png文件没什么关系,但是你正在链接的动态库不适用于ios
This has NOTHING to do with png files missing but with a dynamic library you are linking against which isnt available on ios
这篇关于Xcode 4.5 - CopyPNGFile仍然存在。需要新的想法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文