编译发布安装
1. 准备证书请求文件
2. 登录开发者账号
https://developer.apple.com/account
3. 创建证书
https://developer.apple.com/account/ios/certificate/
4. 创建引用 ID
https://developer.apple.com/account/ios/identifier/bundle
ID规则 com.myco.app 和域名很像,倒着写
5. 登记你的设备
https://developer.apple.com/account/ios/device/
可以通过 itunes => 我的设备 => 摘要 => udid(通过右键切换)
6. 创建部署配置 1
| iOS Provisioning Profiles |
https://developer.apple.com/account/ios/profile/
7. xcode 下载配置文件
xcode => Preferences => Accounts => 添加 Apple IDS => Download All Profiles(全部下载) 或者 Manage Certificates(单独下载)
8. xcode 设置签名
Targets => General => Signing
默认是自动的,如果编译出错,请选择手动配置
9. xcode 设置发布选项
Product => Scheme => Edit Scheme => Run => Build Configuration => Release
10. xcode 编译发布文件
Product => Archive
11. xcode 发布adHoc 本地最后测试
Windows => Organizer => iOS Apps => Export
12. xcode 发布到 app store
Windows => Organizer => iOS Apps => Upload to App Store
Read More