Back

iOS如何发布应用 - 4. 如何运行app 并且 验证 各种certificate

发布时间: 2015-04-20 00:57:00

refer to:  https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppStoreDistributionTutorial/LaunchingYourApponDevices/LaunchingYourApponDevices.html

这里的内容有一定深度: https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/LaunchingYourApponDevices/LaunchingYourApponDevices.html#//apple_ref/doc/uid/TP40012582-CH27-SW4

运行app 

选择个设备,就可以运行了。。。

验证各种certificate

1. 通过xcode 可以验证

2. 通过apple 网站的member center 也可以。

获取ios developer certificate 与 distribution certificate

developer certificate 狠简单,在member center中申请就可以了。

distribution certificate 也不难,

1. 登录member center , 

2 进入到 certificates , profiles & provisions

3. 点击 certificates, 就可以看到对应的一系列的 certificates, 

屏幕快照 2015 04 21 下午3.52.53

找到其中type 是 IOS distribution 的证书,下载, 然后双击,就可以导入了。

然后 重新打开一个terminal, $ ti setup, 输入k, 就可以看到 该有的全都有了。

iOS Environment
  ✓  Xcode              installed (6.0.1)
  ✓  iOS SDK            installed (8.0)
  ✓  WWDR cert          installed
  ✓  developer cert     installed (1 found)
  ✓  distribution cert  installed (1 found)
  ✓  dev provisioning   installed (10 found)
  ✓  dist provisioning  installed (3 found)

Back