创建一个可以在 iPhone 上传到 AppStore 之前安装在 iPhone 上的应用程序文件 [英] Creating an app file that can be installed on an iPhone before it's uploaded to the AppStore

查看:15
本文介绍了创建一个可以在 iPhone 上传到 AppStore 之前安装在 iPhone 上的应用程序文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的老板要我开发一些应用程序并让它们出现在 AppStore 上.这是一家很小的公司,他支付了 iPhone 开发者计划的费用,剩下的我负责,我拥有帐户的完全访问权限.

My boss wants me to develop some apps and make them appear on the AppStore. This is a very small company, he paid the iPhone developer program fee and I am responsible for the rest, I have full access to the account.

我已经使用模拟器在我的 mac 上完成了开发.但现在我必须在实际的 iPhone 上测试该应用,然后才能将其提交给 AppStore 进行审核.

I've finished the development on my mac using the simulator. But now I have to test the app on an actual iPhone before it's submitted to the AppStore for review.

问题是我和老板都没有 iPhone,也没多少钱买.

The problem is that my boss and I both do not own an iPhone and do not have much money to buy one.

我的朋友有一个,如果我可以为他提供下载和安装应用程序的方法(他的 PC 安装了 Windows XP 和 iTunes),他可以为我测试该应用程序,我们彼此住得很远,所以这是不可行的借用他的 iPhone 并将其直接连接到我的 mac 并运行 Xcode 进行测试.

My friend has one and he can test the app for me if I can provide him with a way to download and install the app (his PC has Windows XP and iTunes installed), we live far from each other so it's not feasible to borrow his iPhone and have it directly connected to my mac and run the Xcode to do the testing.

我将跳过开发配置文件的内容,直接进入分发阶段.

I am going to skip the Development Provisioning Profile stuff and directly jump into the distribution stage.

我想知道在分发阶段创建的应用文件(要上传到AppStore的那个)是否可以复制到Windows平台并安装在iPhone上.

I would like to know whether the app file created in the distribution stage (the one to be uploaded to AppStore) can be copied into a Windows platform and have it installed on an iPhone.

推荐答案

您正在寻找的是 ad-hoc 分发,这将允许您将此应用程序以及您的配置文件交给您的朋友,并让他在 Windows 下的 iTunes 中安装它.您首先需要从他那里获取设备 ID(连接设备时在 iTunes 中找到)以创建正确的配置文件.Apple 在 iPhone 门户网站上对此有详尽的说明.

What you're looking for is ad-hoc distribution, which will allow you to hand this application, along with your provisioning profile, to your friend and have him install it in iTunes under Windows. You will need to get the device ID from him first (found in iTunes when the device is connected) to create the proper provisioning file. Apple has thorough instructions on this in the iPhone portal site.

也就是说,这是一种糟糕的 iPhone 开发方式.首先,没有 iPhone 意味着您可能不熟悉它的应用程序 UI 约定以及设备在日常使用中的行为.在模拟器中工作时似乎是个好主意的事情,模拟器是一个在漂亮的大显示器上运行的鼠标驱动环境,但在便携式设备上却无法使用.

That said, this is a terrible way to do iPhone development. First, not owning an iPhone means that you are probably not familiar with its application UI conventions and how the device behaves in day-to-day use. Things that seem like good ideas when working in the Simulator, which is a mouse-driven environment running on a nice, large monitor, turn out to be unusable on a portable device.

该设备还具有与 Mac 截然不同的性能特征.您的朋友可能会指出一些问题,但您确实需要将设备连接到 Mac 并运行您的应用程序,同时监控 Instruments 的内存消耗、CPU 使用情况以及其他可能指出泄漏或其他细微问题的参数问题.正是出于这个原因,在提交到 App Store 之前,我花了几天时间在设备上反复研究我的应用程序的每个版本.

The device also has vastly different performance characteristics than your Mac does. Your friend may be able to point out a few things going wrong, but you really need to hook the device into your Mac and run your application while monitoring Instruments for memory consumption, CPU usage, and other parameters that might point out leaks or other subtle problems. It is for this reason that I spend days hammering on each version of my application on the device before submitting to the App Store.

如果您对 iPhone 开发非常认真(从开发一些应用程序并让它们出现在 AppStore 上"这一行来看,您是认真的),您至少需要拿起 iPod touch 进​​行开发.如果大学生可以花钱买一个来开发应用程序,你的公司当然可以.查看 eBay,我确信人们正在以相对便宜的价格出售第一代模型.

If you are at all serious about iPhone development (which, judging from the line "develop some apps and make them appear on the AppStore", you are), you need to at least pick up an iPod touch for development. If college kids can pay for one to develop applications on, your company certainly can. Check eBay, where I'm sure people are offloading first-generation models for relatively cheap.

这篇关于创建一个可以在 iPhone 上传到 AppStore 之前安装在 iPhone 上的应用程序文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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