Submitting to TestFlight
From Xojo Documentation
When your app is ready for testing, you can submit it to TestFlight to make it available to your beta testers. These steps should help get you started, but most of the specifics are defined by Apple, so you may want to also review the official Apple Test Flight Guide.
To build for the TestFlight, you need to be a member of the Apple Developer Program and have the correct certificates, identifiers and a distribution provisioning profile. You will be using Xcode and the iOS Development Portal to set this up.
Do not submit apps to TestFlight until you have tested on an actual device by following the steps in the UserGuide:iOS Device Deployment topic.
The steps for submitting to TestFlight are primarily the same as submitting to the App Store itself. Follow the steps for configuring certificates, identifiers and profiles in the UserGuide:Submitting to the iOS App Store topic to configure your system and build your app. The only major difference is that you will add an App entry in the TestFlight section of App Store Connect for your app.
Add App to App Store Connect
If you have not already created the app details in App Store Connect, you'll need to go do that now.
- Visit http://appstoreconnect.apple.com and log in using your Apple ID.
- Click "My Apps" and click the "+" button to add a new iOS app.
- Here you will need to fill in the App Information for your app.
Now you are ready to build your Xojo app for the App Store so you can upload it.
Build Xojo App
You build your Xojo app for TestFlight the same way you build it for the App Store:
- In Xojo, set "Build for App Store" property to ON in the iOS Build Settings.
- Select the appropriate Code Signing team and optionally specify any entitlements (on the Advanced Inspector tab).
- Verify that the bundle ID matches your App ID (or wildcard App ID). For example if your wildcard ID is "com.mycompany.*", then your bundle ID must start with "com.mycompany" and be followed with the app name. So a final bundle ID might be "com.mycompany.myapp".
- In Shared Build Settings, ensure that all version fields are correct and that "Short Version" has a value. If you have to submit an update to the App Store, you will need to increase the version information.
- Click Build. This creates an IPA (iOS App Archive) file.
You can now upload the built app to App Store Connect.
- Launch Application Loader (from Xcode, in the Xcode menu, select Open Developer Tools ↠ Application Loader), select "Deliver Your App" and click Choose.
- Follow the steps to select the IPA file from your Xojo build and send it to App Store Connect for verification.
- If there were errors, you'll need to correct them, rebuild and resubmit.
Submit to TestFlight
Once your app is verified and uploaded, your final step is to go back to App Store Connect and add the build to TestFlight:
- Click "My Apps" and select your app from the list.
- Click the TestFlight tab and choose either Internal Testing (App Store Connect team members) or External Testing (anyone can test, but Apple has to do a review of your app first).
- Select the build that was just uploaded and Save.
- Add the people you want to the list of testers.
- Click "Save" or "Start Testing".
Your testers need to install the TestFlight app from the App Store so that they receive notifications that your app is available to test and so they can install it.