xcode 如何在我的实际 iPad 上测试我的 iPad 应用程序?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3338482/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 19:34:30  来源:igfitidea点击:

How can I test my iPad app on my actual iPad?

iphonexcodeipad

提问by mclark1129

I am developing my first iPad app using the iOS SDK 4 and Xcode 3.2. I have written a simple Hello World and have been able to run it in the iPhone simulator. I would like to figure out:

我正在使用 iOS SDK 4 和 Xcode 3.2 开发我的第一个 iPad 应用程序。我已经编写了一个简单的 Hello World,并且已经能够在 iPhone 模拟器中运行它。我想弄清楚:

  1. How can I get an iPad simulator?
  2. Is it possible to test my app on my actual iPad without signing up for a developers license for $99?
  1. 如何获得 iPad 模拟器?
  2. 是否可以在我的实际 iPad 上测试我的应用程序,而无需以 99 美元的价格注册开发人员许可证?

Thanks,

谢谢,

Mike

麦克风

采纳答案by Jason

The SDK includes an iPad simulator. I don't have my Mac in front of me, but you should be able to choose which device to target when you launch the simulator. You can also switch between iPhone and iPad mode from within the simulator - check the Hardware menu.

SDK 包括一个 iPad 模拟器。我的面前没有 Mac,但是您应该可以在启动模拟器时选择要定位的设备。您还可以在模拟器内在 iPhone 和 iPad 模式之间切换 - 检查硬件菜单。

Yes, you have to have a paid developer membership to deploy code to your device. That's the only official way.

是的,您必须拥有付费开发人员会员资格才能将代码部署到您的设备。这是唯一的官方方式。

回答by Jonathan.

There are unoffical ways to get your app onto your device, you have to jailbreak it and install software called AppSync from cydia. This voids your warranty if Apple find out (restoring the device to it's original settings using the restore button in itunes means they can't tell, so jus trestore before you go to an Apple shop) and if they do find out it might prejudice them against you as a developer (but chances are very slim) (I have no problem giving specific details as the US Government has said that jailbreaking is legal) http://www.pcworld.com/article/201892/us_government_iphone_jailbreaking_is_fair_use.html

有一些非官方的方法可以将您的应用程序安装到您的设备上,您必须越狱它并从 cydia 安装名为 AppSync 的软件。如果 Apple 发现(使用 iTunes 中的恢复按钮将设备恢复到其原始设置意味着他们无法分辨,所以在你去 Apple 商店之前只进行恢复)并且如果他们确实发现这可能会损害他们,这将使您的保修失效作为开发人员反对你(但机会很小)(我可以提供具体细节,因为美国政府已经说过越狱是合法的) http://www.pcworld.com/article/201892/us_government_iphone_jailbreaking_is_fair_use.html

回答by Bilal

If you have jailbroken, then install app sync from the Hackulo.us repo. Just sync your app in iTunes without signing it. It will work easy as Pi!

如果您已越狱,请从 Hackulo.us 存储库安装应用同步。只需在 iTunes 中同步您的应用程序,无需签名。它会像 Pi 一样轻松工作!

回答by Raymondkn

This is yet another way to keep flash from getting to iPads, if you could put your own on the device without going through apple then you could also put someone else's. I think it should be allowed, but if something doesn't work on software that isn't officially released it shouldn't be supported by Apple.

这是防止闪存进入 iPad 的另一种方法,如果您可以将自己的闪存放在设备上而无需通过 Apple,那么您也可以将其他人的闪存放在设备上。我认为它应该被允许,但如果某些东西在未正式发布的软件上不起作用,Apple 就不应该支持它。