在朋友的iPhone上测试Phonegap Build应用程序

在朋友的iPhone上测试Phonegap Build应用程序

问题描述:

我已使用 Phonegap Build (而不仅仅是Phonegap ...,但 Build )创建了一个移动应用。我有一个Windows PC,不使用eclipse或xcode。我只是写了Javascript,让Build为我做所有复杂的东西。

I have created a mobile app using Phonegap Build (not just Phonegap...but Build). I have a Windows PC and do not use eclipse or xcode. I just write the Javascript and let Build do all the complex stuff for me.

我可以通过扫描显示的QR码在Android设备上轻松测试我的应用程序在我的应用程序编译之后的Build页面....但我如何在iPhone或iPad上测试?我可以说服一个家庭成员借给我一天,但我没有Mac

I can easily test my app on an Android device by scanning the QR code that is displayed on the Build page after my app compiles....but how can I test on an iPhone or iPad? I can convince a family member to loan me one for a day, but I don't have a Mac (I could probably visit another friend to use one, briefly).

现在不宜在开发者证书上花费$ 99,即使这个应用程序可以最终提交给商店。如果$ 99是唯一的选择,我将非常感谢任何人谁做这清楚!

It would not be appropriate at this point to spend $99 on a developer certificate, even though this app may be submitted to the store eventually. If $99 is the only option, I would be grateful to anyone who makes this clear!

或者我只需要了解测试Flight Lesspainful ?目前的描述让我困惑,但如果我听到一些专家告诉我这是正确的方式,我会更努力!

Or perhaps I just need to learn about TestFlight or Lesspainful? The descriptions are confusing me at present, but I will try harder if I hear some experts tell me that this is the right way to go!

这将是好的测试在真实的苹果设备上,因为我没有太多的运气得到一个模拟器去...但也许唯一的答案,我的困境是告诉我坚持使用模拟器。 (在这种情况下:是否有一个很好的分步教程让完整的初学者在 Windows 中安装iPhone模拟器?)。

It would be good to test on a real Apple device, as I haven't had much luck getting an emulator going...but perhaps the only answer to my dilemma is to tell me to stick with emulators. (In which case: is there a nice step-by-step tutorial for a complete beginner to install an iPhone emulator in Windows?).

谢谢。

如果您想在设备上测试,您的应用需要使用您的证书进行签名。您还需要一个开发提供配置文件,其中包含您要测试的任何设备的设备ID。为了得到这些东西,你需要加入苹果的iOS开发人员计划。这是真的,即使你使用PhoneGap构建服务;为了构建设备,您需要将您的证书和配置文件上传到PhoneGap Build。请查看PhoneGap Build的构建iOS 页面以获取完整信息。 这意味着您需要支付$ 99的费用才能加入iOS开发者计划。

If you want to test on a device, your app needs to be signed using your certificate. You'll also need a development provision profile that includes the device ID's of any devices you want to test on. In order to get those things, you need to join Apple's iOS developer program. This is true even if you're using the PhoneGap Build service; in order to build for a device, you need to upload your certificate and provision profile to PhoneGap Build. Look at PhoneGap Build's Building for iOS page for complete information. All this means that you'll need to pay the $99 fee to join the iOS Developer Program.

另一种方法是越狱您的设备或者,在这种情况下,您的朋友的设备)。如果你有这样的倾向,你可以在网上找到说明。然而,我不认为你将能够通过PhoneGap Build在这种情况下 - 你需要自己使用Xcode或可能一些其他工具集来构建你的应用程序。

An alternative is to jailbreak your device (or, in this case, your friend's device). You can find instructions for that on the web if you're so inclined. However, I don't think you'll be able to build through PhoneGap Build in that case -- you'll need to build your app yourself with Xcode or possibly some other set of tools.