[英]Having an issues when downloading app from xcode to my iphone
将我的应用程序下载到iphone时出现错误。 该应用程序已下载并在我的iPhone上正常运行,但我缺少该应用程序内的2个.png文件,这些文件会导致错误消息。 错误消息的示例:
阅读/用户/jimi9991/Documents/DeveloperProjects/TennisMatch4/LightWoodBackground.png pngcrush捕获到libpng错误:
找不到文件:/Users/jimi9991/Documents/DeveloperProjects/TennisMatch4/build/Debug-iphoneos/TennisMatch4.app/LightWoodBackground.png
对于“ Whilereading / Users / jimi9991 / Documents / DeveloperProjects / TennisMatch4 / LightWoodBackground.png pngcrush捕获到libpng错误:”
请清理您的build
并remove build folder
。 在“ Preview
应用程序中打开这些png文件,然后save as
其save as
为png并尝试。 很奇怪,但是行得通。 我遇到了同样的问题,而此步骤就可以解决问题。
对于“找不到文件:/Users/jimi9991/Documents/DeveloperProjects/TennisMatch4/build/Debug-iphoneos/TennisMatch4.app/LightWoodBackground.png” ,请尝试从应用程序中删除该文件,然后再次将其添加到项目中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.