Test on real device

Xojo tell me

A distribution profile is required when building for the app store.

When I try to test my iOS app on a real device. On Xcode I see my certificate

Help needed, thanks

Certificates are not the same as profiles.

You need to have:

  1. A development certificate (for debugging on the simulator)
  2. A distribution certificate (for debugging on device and sending to the App Store) this is what you’ve shown above.
  3. A list of debug devices

For each app, you need:

  1. An application identifier: com.yourdomain.your-app-name
  2. A development profile, which references which devices are allowed, an app id and your development certificate.
  3. A distribution profile, which references the app id and your distribution certificate.

Any time the any of the items in the first list change, you’ll need to regenerate the profiles in the second list. That can be done by going to your Apple account, clicking on the profile, clicking Edit, making sure all of the selections are correct and then clicking Save. Then you’ll need to download the profile to your machine again, either through Xcode or using a tool like APT.

2 Likes

I remember that something like a provisioning profile is needed as well.

I had a hard time loading the provisioning profile on my phone.
I use the Apple Configurator for that, with no issues.

You don’t need to load the profile onto the phone. The one that’s embedded in your built app is all you need.