为 App Store 构建最终版本之前的预发布清单 [英] Pre-release checklist before building final version for App Store

查看:23
本文介绍了为 App Store 构建最终版本之前的预发布清单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想知道人们在制作最终版本并提交给 App Store 之前学习了哪些实践?除了从 Debug 切换到 Release &注释掉对 NSLog 的调用我们应该注意哪些其他基本和/或不那么基本的事情?

Curious what practices people have learned before making their final build and submitting to the App Store? Aside from switching from Debug to Release & commenting out calls to NSLog what other basic and/or not so basic things should we be watching out for?

推荐答案

这是一个很好的问题,我想重申一些答案并添加一些我自己的答案.我在社区 Wiki 上做了这个回答,请随意添加.

This is a good question and I'd like to restate some of the answers and add a few of my own. I've made this answer Community Wiki, feel free to add to it.

  1. 从您的设备中删除应用程序,关闭 WiFi,关闭蜂窝数据,现在安装并测试应用程序.它是否正常工作(在没有互联网的情况下尽可能多)?它至少告诉用户需要网络连接(如果是)还是会崩溃?

  1. Delete the app from your device, turn off WiFi, off cellular data, now install and test app. Does it work properly (as much as it can without Internet)? Does it at least tell the user that a network connection is required (if it is) or does it crash?

如果您使用 CLLocationManager:删除应用程序,全新安装并运行,但不允许应用程序具有位置数据.应用程序运行良好还是崩溃?它是否至少告诉用户它不能在没有位置数据的情况下运行(如果这是必需的)?它适用于仅使用 WiFi 进行所有地理位置的 iPod Touch 吗?

If you use CLLocationManager: Delete the app, fresh install and run, but do not allow app to have Location Data. Does the app behave well or does it crash? Does it at least tell the user that it can't run without location data (if that is a requirement)? Does it work on an iPod Touch that does all geo location using WiFi only?

在模拟器中运行应用程序,并对每个视图控制器执行以下步骤:(a) 从 iPhone Simulator 菜单中选择Hardware"-->Simulate Memory Warning",(b) 现在在您的应用到其他视图控制器并查看是否一切正常,(c) 对另一个视图控制器重复测试.

Run the app in the simulator and for each view controller do the following steps: (a) From the iPhone Simulator menu select "Hardware" --> "Simulate Memory Warning", (b) now navigate around your app to other view controllers and see if everything is working, (c) repeat test for another view controller.

如果您支持较旧的固件(即:iOS 3.1.3),请将您的应用安装在运行 3.1.3 的设备上并在那里进行测试(如果您没有,请使用 3.2 模拟器).

If you support older firmware (ie: iOS 3.1.3), install your app on a device running 3.1.3 and test it there (if you don't have one, use the 3.2 simulator).

在通话或个人热点处于活动状态时启动您的应用.所有屏幕布局是否正确(状态栏高 40 像素而不是 20 像素)?视图底部的 20 像素是否被推离了屏幕或是否正确调整了大小?

Start your app while on a phone call or when Personal Hotspot is active. Are all the screen layouts correct (the status bar is 40px high instead of 20)? Did the bottom 20px of the view get pushed off the screen or did it resize correctly?

在您的应用程序中接听电话,它是否主动退出并正常恢复?通话时应用中的声音是否停止播放?

Accept a phone call while in your app, does it resign active and resume properly? Do sounds from your app stop playing while in the phone call?

在播放音乐时启动您的应用,音乐是否继续播放?您的声音是否正确混合或适当地淡化音乐?

Start your app while playing music, does the music continue to play? Do your sounds mix properly or fade the music appropriately?

在 RAM 有限的速度较慢的设备上测试性能,例如:iPhone 3G (128MB RAM、412Mhz CPU)或 iPod Touch(第 1 代或第 2 代).

Test performance on a slower devices with limited RAM such as: iPhone 3G (128MB RAM, 412Mhz CPU) or iPod Touch (1st or 2nd gen).

运行 Clang 静态分析器并修复(或至少理解)每个警告.

Run the Clang static analyzer and fix (or at least understand) every warning.

确保环境变量中的 NSZombiesEnabled 为 NO(注意:不确定这是否仍然是一个问题)

Make sure NSZombiesEnabled is NO in the environment variables (caution: not sure if this is still a problem)

这篇关于为 App Store 构建最终版本之前的预发布清单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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