These are the steps required to build an iOS application out of Unity and put it onto a mobile device. While you can create an iOS build ready package with Unity on Windows you won't be able to complete the process without a Mac running XCode.
1. Create a free Apple ID at https://appleid.apple.com/account#!&page=create if you don't already have one.
2. Create a Apple Develop account at developer.apple.com using the Apple ID created in Step 1.
3. Then in order to develop and build to an iOS device you will need an Apple Developer Program Membership. This will cost you $149 (Australian)-ish.
4. Once enrolled the menu will change in the developer website. Click on Membership to see your details. Take note of the Team ID. This is required inside Unity.
5. In the Apple Developer Centre create a Bundle ID for your app by clicking Certificates, Identifiers & Profiles. Then click on App IDs and the + button. To Register an App ID, add in a name for the description, click on Explicit App ID and then type in a Bundle ID. This id will link your application to your developer account, other Apple Services, the App Store and later to Wikitude.
NOTE: You can only register one Bundle ID with Wikitude for your student license so choose wisely. It must start with "com" then have a dot followed by a string, another dot and another string. E.g. com.penny.myARapp (though you probably want to make it more meaningful than that). The same Bundle ID will be used in Android if you're building to that too.
Below the Bundle ID is where you can add extra services to your app. You don't need any of these so just click on the continue button at the bottom of the screen.
On the next page click on the Register button.
The App ID and Bundle ID are now created.
6. Install the latest version of XCode on your computer from https://developer.apple.com/download/. Its always a good idea before trying to build to iOS that you have the latest versions of the Mac Operating System on your computer, the latest version of Unity, the latest version of XCode and the latest iOS on your mobile device. It is not advisable to have any beta versions of this software as they may not be compatible.
7. Create a new Unity Project. It can be empty with just the Sample Scene.
8. From the Main Menu select File > Build Settings (a). This will open a Build Settings Dialog box where you should ensure the scene/s that you want to build into your app are listed in the top box. If they are not you can drag them from the Project window into here (b). Then select iOS in the Platform box (c). Then finally click on "Switch Platform" (d).
Switching the platform will be relatively quick with an empty project. If you already have an application and want to switch the platform Unity will perform some additional compilation and reimports and this could take a little while depending on the size of your application.
9. The platform you are currently set to will be displayed in the top menubar of Unity.
10. Close the Build Settings window.
11. Add a simple cube into the Scene so it is visible in the Game view. This will give us something to look at when the app is running on the mobile. At this point you can also change the Game view resolution to one that is compatible with your device so you can see what the final app will look like.
12. Open the Build Settings window again. (Main Menu > Build Settings) This time click on the "Player Settings" button (a). In the Inspector add a Company Name (b), Product Name (c) - this is the name of the app that will appear on the mobile device below the icon, the Bundle ID (d) and the Team ID (e). Then to deploy to your mobile device click on "Build and Run".
13. Unity will ask you where to save the build file. I usually place it inside my Unity project's root folder but you could put it anywhere.
14. Unity will now start building out to XCode. Make sure your mobile device is plugged into your computer and unlocked.
15. When XCode opens for the first time its going to look a bit scary as there's a lot going on. But here's all you need to know. As it compiles and builds (its going to take a little while) the status will display in (a). Make sure the device that it is building to is your mobile device shown in (b) if not, change it by clicking the dropdown box in the same location. A bunch of warnings will pop up in (e). Don't worry about these. You only need to worry about red errors. Hopefully there won't be any. The build will automatically copy to your mobile device and when (a) displays "Running" the app should be on your mobile. If at any time you press stop, or force the app to stop on the mobile itself you can start it up again via the build process by pressing the play button (d).
16. The App playing on an iPhone X
What if it doesn't work or XCode gives me strange messages?
ensure you have the correct bundle id
ensure you have the correct team id
ensure the mobile device is plugged in and unlocked (not provider unlocked, but that you've put your pin in or Face ID)
ensure the iOS on the mobile is up-to-date
ensure you have the latest versions of Unity, XCode, and Mac OS (not betas).
close down all other running apps on the mobile device.
More Useful Information for iOS App Building from Unity