top of page
Search

Unity AR Development 3

Writer: Us Smurf
Us Smurf
Jul 25, 2023
2 min read

Today, I had the opportunity to delve into the exciting world of AR development through a tutorial that focused on deploying AR projects to iOS and Android devices. The aim was to set up software and projects correctly for AR development, ultimately allowing me to experience a spinning cube in my surrounding environment through my device's camera.


The tutorial was thoughtfully divided into two sections, one dedicated to iOS and the other to Android. Each section offered step-by-step instructions to ensure that both platforms could harness the power of AR effectively. In the iOS section, I embarked on configuring the project to be compatible with iOS by installing ARKit, Apple's cutting-edge AR framework. For the Android counterpart, the equivalent package used was ARCore.

Throughout the tutorial, I encountered various key steps that proved pivotal in my learning journey:

  1. Enabling the ARKit XR plug-in [iOS]: This step was crucial in making the project AR-compatible on iOS devices by enabling ARKit through the XR Plug-in Management.

  2. Giving the app a unique identifier [iOS]: To deploy a project to an iOS device, a unique Bundle Identifier was required, consisting of a combination of company and product names. Ensuring that each project had its distinct identifier was essential for successful deployment.

  3. Configuring build settings [iOS]: Correctly setting up the build settings for iOS was a critical aspect of this journey. Switching the platform to iOS enabled the project to be built and deployed smoothly.

  4. Building and running in XCode [iOS]: Initiated a three-step process to deploy the project from Unity to an iOS device using XCode. This step involved resolving expected issues that arose during the first attempt to build and run the project.

  5. Familiarizing yourself with XCode [iOS]: Exploring the XCode interface, which bore striking similarities to Unity's layout, helped me feel more at ease within the environment.

  6. Resolving XCode errors [iOS]: Addressing signing-related errors in XCode was essential for successful deployment. Signing the app verified my identity as the developer and ensured its trustworthiness.

  7. Running the app on your device [iOS]: Deploying and testing the app on my connected iOS device using XCode was an exhilarating experience. Witnessing the spinning cube materialize in my real-world environment was both mesmerizing and fulfilling.

  8. Configuring signing preferences in Unity [iOS]: Pre-configuring signing preferences in Unity proved to be a valuable time-saving measure, as it prevented recurring signing errors in XCode during future deployments.

  9. Rebuilding a new version of your app [iOS]: Making a small change to the project before rebuilding ensured that I was running a fresh version of the app. This iterative approach streamlined the development process.

  10. Configuring the Game view aspect ratio [iOS]: Setting up the Game view's aspect ratio to match the device's orientation accurately allowed me to visualize how the app would appear when held in either portrait or landscape mode.

This journey into AR development has been an eye-opening experience, providing insights into the exciting possibilities that this technology holds. From tackling foundational coding concepts to exploring the cutting-edge world of AR development, each step has been a stepping stone towards honing my skills and expertise.

 
 
 

Recent Posts

See All
Unity AR Development: 2

Today marks the beginning of an exhilarating journey towards becoming a software engineer. Join me as I take my first steps towards...

 
 
 

Comments


Crylix.exe

  • alt.text.label.Instagram
  • alt.text.label.LinkedIn

©2023 by Crylix.exe. Met trots gemaakt met Wix.com

bottom of page