将应用程序从xcode下载到我的iphone时出现问题
当我将我的应用程序下载到iphone上时,我会出错。该应用程序可以在我的iphone上下载并正常工作,但我在应用程序中缺少2.png文件,导致出现错误消息。错误消息的示例: 阅读/Users/jimi9991/Documents/DeveloperProjects/TennisMatch4/LightWoodBackground.png pngcrush时发现libpng错误: 在阅读/Users/jimi9991/Documents/developerProject/TennisMatch4/build/Debug iphoneos/TennisMatch4.app/LightWoodBackground.png时,找不到文件:/Users/jimi9991/Documents/developerProject/TennisMatch4/LightWoodBackground.png 请清理将应用程序从xcode下载到我的iphone时出现问题,iphone,xcode,ios4,ios-simulator,Iphone,Xcode,Ios4,Ios Simulator,当我将我的应用程序下载到iphone上时,我会出错。该应用程序可以在我的iphone上下载并正常工作,但我在应用程序中缺少2.png文件,导致出现错误消息。错误消息的示例: 阅读/Users/jimi9991/Documents/DeveloperProjects/TennisMatch4/LightWoodBackground.png pngcrush时发现libpng错误: 在阅读/Users/jimi9991/Documents/developerProject/TennisMatch4/
生成
,并删除生成文件夹。在预览
应用程序中打开这些png文件,然后另存为
再次将它们作为png并重试。很奇怪,但它是有效的。我也面临同样的问题,这一步起到了作用
对于“找不到文件:/Users/jimi9991/Documents/DeveloperProjects/TennisMatch4/build/Debug iphoneos/TennisMatch4.app/LightWoodBackground.png”,请尝试从应用程序中删除该文件,然后再次将其添加到项目中 查看命名的png,它们将位于其他文件夹中(不在您的参考资料中)。感谢您的帮助。工作完美