如何使用设备而不是模拟器 [英] How to use device instead of Simulator

查看:173
本文介绍了如何使用设备而不是模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是iphone开发的新手,想在iphone上测试我的应用程序。我已支付100美元,但找不到任何方法来锻炼如何做到这一点。有一些参考文献,但它们适用于xcode 3.

I am a new with iphone development and want to test my application on my iphone . I have paid $100 but can not find any way to workout how to do that . There are some references around but they are for xcode 3.

任何帮助都会非常感激。

Any help would be much appreciated.

推荐答案

首先,您必须在Mac上设置开发人员证书/密钥。请参阅开发人员门户,其中有详细说明如何进行此设置。

First you have to get your developer certificate/keys set up on your mac. See the developer portal where there are detailed instructions on how to get this set up.

一旦有了证书,插入您的设备,然后在XCode中按 cmd + shift + 2 - 加载管理器。选择设备窗格,单击您的设备,然后单击用于开发按钮。它会要求您将您的用户名/密码输入您的开发帐户,然后它将启用您的设备进行开发。启用后,只需在主Xcode窗口的左上角选择它作为构建目标。

Once you have your certificate, plug in your device, and press cmd + shift + 2 in XCode - to load up the organizer. Select the devices pane, click on your device, and click the 'use for development' button. It will ask you to put your username/password in for your dev account, and then it will enable your device for development. After it has been enabled, you simply select it as the target to build to in the top-left of the main Xcode window.

这篇关于如何使用设备而不是模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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