【问题标题】:Having an issues when downloading app from xcode to my iphone将应用程序从 xcode 下载到我的 iphone 时出现问题
【发布时间】:2011-10-22 21:37:36
【问题描述】:

当我将我的应用程序下载到我的 iPhone 上时,我遇到了错误。该应用程序在我的 iPhone 上下载并正常运行,但我在应用程序中缺少 2 个导致错误消息的 .png 文件。错误信息示例:

Whilereading/Users/jimi9991/Documents/DeveloperProjects/TennisMatch4/LightWoodBackground.png pngcrush 捕获 libpng 错误:

找不到文件:/Users/jimi9991/Documents/DeveloperProjects/TennisMatch4/build/Debug-iphoneos/TennisMatch4.app/LightWoodBackground.png

【问题讨论】:

  • 查看命名的 png 文件,这些文件将在其他文件夹中(不在您的资源中)。

标签: iphone xcode ios4 ios-simulator


【解决方案1】:

对于“Whilereading/Users/jimi9991/Documents/DeveloperProjects/TennisMatch4/LightWoodBackground.png pngcrush 捕获 libpng 错误:”

请清理您的buildremove build folder。在 Preview 应用程序中打开这些 png 文件,然后再次将它们 save as 作为 png 并尝试。很奇怪,但它有效。我遇到了同样的问题,这个步骤成功了。

对于“找不到文件:/Users/jimi9991/Documents/DeveloperProjects/TennisMatch4/build/Debug-iphoneos/TennisMatch4.app/LightWoodBackground.png”,请尝试从应用程序并再次将其添加到项目中。

【讨论】:

  • 感谢您的帮助。完美运行
猜你喜欢
  • 1970-01-01
  • 2010-12-03
  • 2010-11-02
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-11-04
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多