How to Build & Run Unity to iOS for Testing

Uploaded by samyam
Share: Twitter Facebook
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:
1. Download Xcode from Apple's Developer Website (link above)
2. Add iOS Module support in Unity Hub to the version you are using
3. In Build Settings Switch to the new iOS platform
4. Select Development Build
5. Make sure API version is minimum 12.0 for iOS in the Player Settings
6. 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)
7. 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.
8. Connect your phone to the computer and enable Developer Mode on the Phone (Settings - Privacy & Security - Developer Mode - Check Yes and Restart Phone)
9. In Xcode, at the top bar make sure your phone is selected as the output device.
10. Click play on the top left to build to phone.
11. Trust the app on your phone, go to General - VPN & Device Management - Click Your Developer App - and Click Trust
12. 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