iOS 真机开发调试环境

1)xcode导入private key

从朋友lostsky要到 他从macbook电脑xcode开发工具里面export出来的private key

导出方法:

导入方法:在finder文件管理器中双击p12文件导入到xcode里面


2)xcode导入Developer Provisioning Profile

在iOS provision portal上面

创建App ID,添加Device,创建Developer Provisioning Profile(管理App ID,Device),下载这个profile

macbook上双击Developer Provisioning Profile文件导入到xcode里面


3)连接iPad设备到macbook上

xcode在Windows -> Organizer里面选择iPad设备,点击按钮

use device for development(大意如此)


4)创建项目

项目的bundle和iOS provision portal的App ID一致

修改build target的OS版本和iPad设备的版本一致或者更低

5)run 真机调试即可

参考:

http://www.cnblogs.com/neworiginou/archive/2012/03/26/2417540.html
lostsky:其实你可以使用已经有的develop类型的cer生成自己的appid和prov 导入到自己机器上 不需要任何拷贝过来的key

主要就是cer和prov和appid之间的关系

To run an application you're developing for iPhone, iPad or iPod touch, you must have

1) a Provisioning Profile

2) a Development Certificate

1) and 2) installed on your device and your Mac.

The Provisioning Assistant will guide you through the steps to create and install your Development Provisioning Profile and iOS Development Certificate.

A Provisioning Profile is a collection of your

1)App ID

2)Apple device UDID

3)iOS Development Certificate

that allows you to install your application on your device.


你可能感兴趣的:(ios)