Uploading our project from Xcode

Next, we will create a final build of our game, validate that it contains everything it needs for the App Store, and upload the bundle to iTunes Connect.

First, we will create the deployment archive for our game. When you are happy with your project, use the Product menu and select Archive..., as shown in the following screenshot:

Uploading our project from Xcode

Tip

If Archive... is grayed out, make sure to select a real iOS device or the Generic iOS Device option in the target scheme drop-down in the upper-left of Xcode.

Once the process finishes, Xcode will open your archive list. From here, you can validate your app to make sure it includes all ...

Get Swift 3 Game Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.