Creating an AR Spritekit project

Open Xcode and create a new project. In the Application tab, select Augmented Reality App:

Creating an AR Spritekit project

Next, set the name of the project, the development team, the language, and the content technology:

Creating an AR Spritekit project

Once the project is created, sign in with your developer account to run it on the device:

Creating an AR Spritekit project

When you run the application, it will need permission to access the camera. Click OK:

Now, move around in the room with the camera and touch the ...

Get Swift Game Development - Third 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.