How to distribute iOS app to device or app store or testflight

本文详细介绍了使用Apple Developer Program发布iOS应用的全过程,包括准备证书、下载配置文件、设置签名身份以及分发应用到App Store、iTunes、TestFlight等平台。
摘要由CSDN通过智能技术生成
  • Prepare Provisioning profile:
    • Keychain Access-->Certificate Assistant-->Request a Certificate from a Certificate Authority-->input email address (App ID), saved to disk. 
    • Sign in https://developer.apple.com-->iOS Provisioning Portal-->Certificates-->Request Certificate-->input the certificate you saved to disk-->Submit. (Administrator will approve it.)
    • From the email you input in keychain access, click the invitation code, and you will be invited to "Apple Developer Program"
  • Download provisioning profile: Xcode-->Organizer-->Devices-->Library-->Provisioning Profiles
    • Click Referesh: input App ID, download many profiles, not only yours.
    • Sign in https://developer.apple.com-->download your profile to disk-->drag it to provisioning profiles-->just your profile list there.
    • You may have two profiles: one is a specific profile (i.e. it can be just used for specific app), the other is a generic profile. (i.e. it can be used for all apps you develop)
  • Xcode-->targets-->your app-->change "code signing identity" to your identity. Then you can select you device from scheme, to run/debug/install you app in your device.
  • Distribute:
    • Xcode-->Product-->Archive-->generate .xcarchive file to disk, and it is also listed in Organizer-->Archives
    • Organizer-->Archives-->click one .xcarchive you generated-->Distribute:
      • Submit to the iOS App store: distribute to app store.
      • Save for Enterprise or Ad-Hoc Deployment: distribute to other places outside of app store-->Code signing identity(your identity)-->save ipa(build file) file to disk. (not check enterprise distribute)

  • Distribute to iTunes:
    • Double click the ipa file and it will be store to iTunes.
    • Connect iOS device to mac.
    • Click the iOS device in iTunes.
    • Select Apps menu, and you will see your app that was stored in iTunes just now.
    • Click install button for you app or drag it to the screen of iOS device in the right part.
    • Click Apply button at the right-bottom corner to install your app to iOS device.
  • Distribute to testflight:
    • Sign in testflight web site (you need register in it first)-->Add a build-->upload the ipa file you saved to disk.
    • You can install/run you app in your device via testflight.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值