Create your first AR app with RealityKit and SwiftUI

Millie Dev
Twinkl Educational Publishers
8 min readOct 9, 2019

--

To create your first RealityKit app with SwiftUI, you will need to have updated to MacOS Catalina. Neither of these new frameworks will work on MacOS Mojave or any earlier version. You should also make sure you have the latest version of Xcode by checking the Mac App Store and checking that there are no updates for Xcode that you have not yet installed. Having the latest version of Xcode and MacOS is essential to making sure this app works correctly.

It would help to have a working knowledge of the Swift programming language, although anyone can copy the code and read my explanation of what the code does.

You will also need an iPad, as AR can’t be emulated by the iOS Simulator.

To create this project in Xcode, go to File > New > Project and select the Augmented Reality App template.

You need what’s called a ‘personal team’ in order to install your app on a device. You will not be able to test on an iPad without having signing capabilities. If you don’t know what any of this means, it might help to find out about it on Apple’s Signing & Capabilities workflow website. You’ll need to give your project a name and…

--

--

Millie Dev
Twinkl Educational Publishers

An iOS developer who writes about gadgets, startups and blockchains. Swift programming tutorials are at typesafely.co.Uk