Provisioning a Device for Development

To run apps you’re developing on a device, you must set up the device for development. This process involves these main tasks, which you do in Xcode:

  1. Obtaining a developer certificate that allows you to sign apps.

  2. Obtaining a provisioning profile that identifies your developer certificate, your device, and the applications you can run on the device.

  • Certificate request. A certificate request (also known as a certificate signing request, or CSR) contains personal information used to generate your development certificate.

  • Development certificate. A development certificate identifies you as an app developer. When it’s stored in your keychain, it includes your private key. In your development team’s signing assets and in your provisioning profile, it includes only your public key.

    When Xcode builds your app for installation on a device, it looks for your developer certificate in your keychain. If it finds the certificate, Xcode signs your app. Otherwise, it reports a build error.

  • Provisioning profile. A provisioning profile associates one or more developer certificates and one or more devices with an app ID.



If your app requires special iOS-development features (such as iCloud storage, push notifications, in-app purchases, and Game Center), you must provision your device for specialized development.

To distribute apps you need a distribution certificate and an distribution provisioning profile:

  • Distribution certificate. A distribution certificate identifies your development team. When it’s stored in your keychain, it includes the team’s private key. In your team’s signing assets and in a distribution provisioning profile the distribution certificate includes only the team’s public key.

  • Distribution provisioning profile. A distribution provisioning profile includes your team’s distribution certificate and an app ID. If the provisioning profile is for user-testing (also known as an ad hoc hoc distribution profile), it identifies the devices on which testers can run the app identified by the app ID.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值