Version: 2017.3
Unity iOS 基础知识
iOS 构建过程详解

iOS 帐户设置

A normal free Apple ID is all you need to test your build on your iOS device. However, you should be aware that the free option is limited: you can’t use services such as Game Center or In-App Purchases, and you can’t submit your game to the App Store. You must register with the Apple Developer Program to publish your game.

1.如果还没有 Apple ID,请从 Apple ID 站点申请一个,或在 Apple Developer Program 中注册。

2.安装最新版本的 Xcode(可从 Mac App Store 获取)。Xcode 是一个仅适用于 Mac 的集成开发环境 (IDE),包含 Apple 开发的一套软件开发工具,可开发适用于 OS X、iOS、WatchOS 和 tvOS 的软件。

将 Apple ID 添加到 Xcode

1.打开 Xcode。

2.从菜单栏中选择 Xcode > Preferences 以打开 Preferences 窗口。

3.选择窗口顶部的 Accounts 以显示有关已添加到 Xcode 的 Apple ID 的信息。

  1. Click the plus sign in the bottom-left corner and choose Add Apple ID.

Enter your Apple ID and password in the pop-up window that appears to add it to the list.

Select your Apple ID in the list to see more information about it.

Team 部分会列出您已加入的所有 Apple Developer Program 团队。如果使用的是未在 Apple Developer Program 中注册的免费 Apple ID,则会使用您的姓名自动创建个人团队 (Personal Team)。

Xcode 可以自动配置您的证书、资源调配配置文件和设备。如果已在 Apple Developer Program 中注册,则可以使用 Apple Developer Portal 手动执行此操作。

Unity iOS 基础知识
iOS 构建过程详解