How to Build & Run Unity to iOS for Testing
samyam
In this video I'll show you how to quickly build to iOS and iPhone/iPad using Unity. You'll need a Mac and an iOS device.
๐ Relevant Video Links ๐ โบXcode - download latest version https://developer.apple.com/xcode/ โบApple USB-C to Lightning Cable (I bought the 2m one) https://www.apple.com/shop/product/MM0A3AM/A/usb-c-to-lightning-cable-1-m โบ Nintendogs Meets AR: How I Made a Virtual Pet Simulator in 3 Days https://youtu.be/FeC875GZ_Z8
Summary of the steps:
- Download Xcode from Apple's Developer Website (link above)
- Add iOS Module support in Unity Hub to the version you are using
- In Build Settings Switch to the new iOS platform
- Select Development Build
- Make sure API version is minimum 12.0 for iOS in the Player Settings
- Build & Run - if error that cannot find Xcode path, go to Xcode settings, then Location, then reset the Set Command Line option to Xcode (you will need to enter your Apple ID password) (just reclick it, I don't know why it fixes it)
- Xcode will now pop up with the build. You need to Enable Automatic Signing under the Signing and Capabilities Tab, and create a new Team with yourself if you haven't already.
- Connect your phone to the computer and enable Developer Mode on the Phone (Settings - Privacy & Security - Developer Mode - Check Yes and Restart Phone)
- In Xcode, at the top bar make sure your phone is selected as the output device.
- Click play on the top left to build to phone.
- Trust the app on your phone, go to General - VPN & Device Management - Click Your Developer App - and Click Trust
- Tada! Click your app and allow permissions as necessary.
๐ค Support Me ๐ค Patreon: https://www.patreon.com/samyg Donate: https://ko-fi.com/samyam
โบโฑ๏ธ Timestamps โฑ๏ธ 0:00 Intro 0:22 Download XCode 1:09 Downdload iOS package 1:40 Build Settings 3:59 XCode Settings 4:51 Connect Phone and Enable Developer Mode 5:56 Trust App 6:48 Outro
๐๐THANK YOU TO ALL MY PATRONS ๐๐
โฏโฏโฏ My Links โฎโฎโฎ ๐ Patreon ๐ https://www.patreon.com/samyg ๐ฌ Discord Server ๐ฌ https://discord.gg/SwCKB3Q ๐ฆ Twitter ๐ฆ https://twitter.com/samyam_youtube ๐ Facebook ๐ https://www.facebook.com/samyam.youtube/ ๐ Like and Subscribe! ๐
๐ฅ๏ธ Computer Setup ๐ฅ๏ธ *As an Amazon Associate I earn from qualifying purchases. https://www.amazon.com/shop/samyam
Disclosure: This post may contain affiliate links, which means we may receive a commission if you click a link and purchase something that we have recommended. While clicking these links won't cost you any money, they will help me fund my development projects while recommending great assets!
#unitytutorial #gamedev #unity ... https://www.youtube.com/watch?v=-Hr4-XNCf8Y
47179289 Bytes