只需使用免费的 Apple ID 即可在任何 iOS 设备上测试您的构建。但是,应该注意,免费帐户是受限的:不能使用游戏中心 (Game Center) 和应用内购 (In-App Purchases) 等服务,也不能将您的游戏提交到 App Store。必须在 Apple Developer Program 中注册才能发布游戏。
如果还没有 Apple ID,请从 Apple ID 站点申请一个,或在 Apple Developer Program 中注册。
安装最新版本的 Xcode(可从 Mac App Store 获取)。Xcode 是一个仅适用于 Mac 的集成开发环境 (IDE),包含 Apple 开发的一套软件开发工具,可开发适用于 OS X、iOS、WatchOS 和 tvOS 的软件。
打开 Xcode。
从菜单栏中选择 Xcode > Preferences 以打开 Preferences 窗口。
选择窗口顶部的 Accounts 以显示有关已添加到 Xcode 的 Apple ID 的信息。
单击左下角的加号,并从出现的窗口中选择 Apple ID__,然后单击 Continue__。
在出现的弹出窗口中输入您的 Apple ID,然后单击 Next。
输入密码,然后单击 Next。
在列表中选择您的 Apple ID 以查看其更多相关信息。
Team 部分会列出您已加入的所有 Apple Developer Program 团队。如果使用的是未在 Apple Developer Program 中注册的免费 Apple ID,则会使用您的姓名自动创建个人团队 (Personal Team)。
Xcode 可以自动配置您的证书、资源调配配置文件和设备。如果已在 Apple Developer Program 中注册,则可以使用 Apple Developer Portal 手动执行此操作。
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.