做什么,当一个应用程序工作正常调试,但在App Store中不起作用 [英] What to do when an app works fine debugging, but doesn't work in the App Store

查看:174
本文介绍了做什么,当一个应用程序工作正常调试,但在App Store中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个应用程序我已经在App Store大约一年半的2.3版本。突然,我提出一个更新的应用程序商店有一些小的变化,现在从App Store下载的时候,一些图像也不会在所有设备上加载。这是一组一致对scrollview-图像的这一切显示为黑色,而不是,但也有其他的页面用更少的图像,始终还是工作,并采取完全一样的。无记忆警告。去年以来没有更新SDK / X code / OS X升级的应用程序。

I'm in version 2.3 of an app I've had in the App Store for about a year and a half. Suddenly, I submit an update to the app store with a few small changes, and now when loaded from the app store, some images won't load on all devices. It is a consistent set of images on a scrollview- it all appears black instead, but there are other pages with fewer images that consistently still work and are implemented exactly the same. No memory warnings. No SDK/XCode/OS X upgrades since last updating the app.

有记录到控制台几个邮件,以及那些能正确打印,不说明任何问题。没有记录错误。

There are a few messages logged to the console, and those print correctly and don't indicate any problems. No errors are logged.

我在为如何调试这个损失完全是。我已经得到它生气电子邮件。我没有时间让重新提交,等待一个星期才能被批准。有什么建议?

I'm completely at a loss for how to debug this. I'm already getting angry emails about it. I don't have time to keep resubmitting and waiting a week for it to be approved. Any suggestions?

推荐答案


  • 检查图像名称的大小写。

  • 请完全重建你的应用程序(即建设 - >清洁)的。

  • 请更全面的重建 - 删除建与模拟器文件夹

  • 在多个真实设备不同的世代和操作系统的版本,测试。

  • 建立一个特设的分布和测试。

一般而言,影像问题是由操作系统没有找到在应用程序的包中的形象造成的。

Generally, image problems are caused by the OS not finding the image in the app's bundle.

这可能是因为该设备是区分大小写的,而模拟器是没有,所以一些对模拟器的工作可能无法在设备上工作。

This can be because the device is case-sensitive whereas the simulator is not, so something that works for the simulator might not work on devices.

另外,IDE可以是一个有点片状(因此完全重建)。出于某种原因,我见过编译成应用程序的资源永远不会删除,即使我干净的构建。解决这个问题的唯一方法是删除该文件夹的建立,和/或模拟器的文件夹。模拟器文件夹设置为〜/库/应用程序支持/ iPhone模拟器/ 4.3.2 /应用/ (或任何你的构建版本是)。您可以垃圾桶无后顾之忧构建文件夹,但在应用程序支持不删太多,否则你可能需要重新安装X code;只要找到GUID(ABCDEF01-2345-6789-ABCD-EF0123456789)您的应用程序相匹配。

Also the IDE can be a bit flaky (hence the full rebuild). For some reason, I've seen resources compiled into the app never get removed, even if I clean the build. The only way to fix this is to delete the build folders, and/or the simulator folders. Simulator folders are at ~/Library/Application Support/iPhone Simulator/4.3.2/Applications/ (or whatever your build version was). You can trash the build folders without worry, but don't delete too much in Application Support or else you might need to re-install XCode; just find the GUID (ABCDEF01-2345-6789-ABCD-EF0123456789) that matches your app.

这是特设的构建,特别是如果你作为它的基础关闭发布配置的,将可能是最接近真实的版本,你可以得到。有技巧使用命令行codesign实用采取发布版本并更改其签名,这样就可以作为一个特设的运行它,但是绝对不是唾手可得的。

An Ad Hoc build, especially if you base it off of your Release configuration, will probably be the closest thing to a real build that you can get. There are tricks to using the command-line codesign utility to take a release build and change its signature so that you can run it as an ad-hoc but that's definitely not low-hanging fruit.

这篇关于做什么,当一个应用程序工作正常调试,但在App Store中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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