Building and running

Xcode consists of an IDE that hosts your Xcode projects. When you build for iOS from Unity, it doesn't actually build an iOS executable. Rather, Unity builds an Xcode-ready project folder that you then open in Xcode to complete the compile, build, and deploy process in order to run the app on your device. Let's go:

  1. Be sure your device is turned on, connected, and you have granted access to the Mac.
  2. In Build Settings, click on the Build And Run button to begin building.
  3. You will be prompted for a name and location for the build files. We recommend that you create a new folder in your project root named Build and specify the file or subfolder name under that, as needed.

If all goes well, Unity will create an Xcode project and open it in Xcode. It will attempt to build the app, and if successful, upload it to your device. You now have a running AR app on your device that you can show off to your friends and family.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset