How to Setting up your environment for Augmented Reality Application

Shalinga Manasinghe
2 min readJul 9, 2019

--

Setting Up Xcode

To create AR app you need to Xcode 9 or upper version, so as a first step you need to update you Xcode. If you don’t know what is your Xcode version, Open Xcode and go to Xcode > About Xcode in the toolbar then you can see the version. You can update your Xcode if it’s necessary and it’s free.

Create new project.

Now we are going to create new project. Open Xcode and click Create a new Xcode project.

In next window you need to select what type a project you need to create and it’s going to be Augmented Reality app.

Click next, and then you setup your basic details for application and save it.

Basically now you have a working AR application. If you run this application you can see a jet in your AR application.

Debugging.

To run and debug any ios application use camera you need an actual iPhone you can’t debug AR application using simulator because it does not have a working camera. If you don’t have an iPhone try borrowing from friend and then you can test it.

There are two way to debug application using iPhone, one is connect your iPhone to mac book using lightning cable. Second one is using network connection, in Xcode go to Window > Devices and Simulators then connect your iPhone using lightning cable, In the window make sure your device is selected and then check the Connect via Network box. After this you can debug your application using network connection. To test this method, just unplug your iPhone and run your application. Before you run your application make sure you select your device from the simulator drop down.

Now you are ready to start develop Augmented Reality application.

--

--

No responses yet