I’ve been going round in circles trying to deploy an iOS app onto a device for testing.
It seems all the instructions I can find are well out of date… dead links, descriptions of XCode7, advice to create a new AppleID which is not(!) your developer account in order to get profiles (seems that last one is a waste of time)
Is there a set of instructions that relates to 2018 anywhere?
Select iOS App Development, then click on Continue button
Follow the instructions to create a CSR file from your mac and upload it
[h]Identifiers[/h]
From the list on the left click on App IDs
Tap the + button to create a new App ID.
Enter a description such as “My first iOS App”
Select Explicit App ID and type the Bundle ID that is also set in Xojo. Such as com.yourcompany.appname
Click Continue button
[h]Devices[/h]
In Safari, click on Devices > All
Click the + button at the top right
Plug your device (iPhone or iPad) on your mac then open Xcode.
Hit cmd+shift+2, shortcut for Menu > Window > Devices & Simulators
Select your device from the list on the left and copy the device identifier (UDID)
Back in Safari, give a name to your device then paste the UDID
Click Continue button
[h]Provisioning Profiles[/h]
Click on Provisioning profiles > All
Click the + button at the top right
Select iOS App Development, then Continue button
Select the App ID you create previously, Click Continue
Select the certificate your uploaded previously (iOS Development), Click Continue
Select the device you identified previously, click Continue
Give your profile a name such as “AppName Development”
You will then be prompted to download the provisioning profile. Downloading it is quite useless.
[h]Refreshing Xcode profiles[/h]
In Xcode, open the Preferences, go to accounts tab
Sign in with your Apple ID if you haven’t previously
Then click on “Download manual profiles”
[h]Xojo[/h]
Quit Xojo
Open your iOS project in Xojo
Go to Build settings > iOS from the Navigation tree on the left
Now in the Inspector on the right, select your Team (should be your name or company name)
Uncheck “Build for App Store”
Build your App !!
[h]Deploying the App to your device[/h]
Open Xcode, Hit cmd+shift+2, shortcut for Menu > Window > Devices & Simulators
Plug in your device
Drag the .app file created by Xojo to the “Apps” section displayed in Xcode