A Beginner’s Guide for Developing Your First VisionOS App
So, whats up everyone ! So excited to write this blog as I, like many others, have been eagerly awaiting the to explore the simulator and partake in its immersive experiences. Within this blog, I shall explain the process of configuring your system, outline the necessary prerequisites for running your application, and provide a comprehensive guide on constructing your first app.
Requirement :
- MacOS Ventura 13.4.1
- Xcode 15.0 Beta 2
- Vision 0S Simulator
Most of the things above can be downloaded from the Apple developer site. Please do download the Xcode and install it, get the tools and Vision OS Simulator.
If your an iOS or Apple developer you may know the ritual of Xcode, else
Steps to create your first vision app:
- Open Xcode -> New project -> Choose vision OS
- Click on next Tab -> You may see a window creating project name other details. Change the identifier to your/company name and choose your immersive experience
- Tapping on Next Button Choose the location to save your application and Your done setting up your first app.
- You’ll end up in the project window and have the Starter files to run your first application.
- On left side You can see the ContentView, which is written in swift and used SwiftUI.
- On Right side you can see the preview of the new vision. (Its a jaw dropping experience when i moved back and forth).
- So whats next ? Lets experience in simulator now.
- Choose vision pro in the simulators, Next to your project name and Tap on the Run button on right.
- Thats it !! You made it to final lap. Hold tight and wait for your simulator to open so you can experience the Vision Pro.
- Now you can see the project i created appeared in the home screen, Similarly your app will be opened at first when simulator is on.
So this is how you experience the vision pro in simulator.
Okay coming to the part where we redesign, Most iOS and apple developers might be aware of swift and SwiftUI. So we’ll be using these to design the application.
If your new to Apple Eco system i would highly recommend you to take a swift course before jumping into development part. We used reality kit for experience purposes.
Drawbacks and Issues :
- My Macbook is a intel one, It couldn’t handle the load
- Need to update to latest OS and get beta that means 2 Xcode in your mac
- Simulator can be a bit laggy.
Follow me on other social networks too.
LinkedIn: https://www.linkedin.com/in/shreethaanu-raveendran-7a6275b2/
Github : https://github.com/shreethaanu
Instagram : https://www.instagram.com/shreethaanu_blogs/
Portfolio : https://strlabz.com
Patreon : https://www.patreon.com/shreethaanu
If you like my post and wanna see more support me ☕️