iosxamarin.iosvisual-studio-2022code-signing-entitlements

Xamarin iOS app not trusted on iPhone 13, OK on iPhone SE?


I'm working on a Xamarin iOS app.

I do not understand why, but using the same signing configuration (Automatic developer identity/Automatic provisioning profile), the app is deployed by VS and launches fine on my iPhone SE (2nd Gen) running iOS 16.1.1.

However it is deployed but is not trusted on my iPhone 13 running iOS 16.2.

Here is a screen capture that shows the infamous icon and app prefix with cloud and row pointing below.

enter image description here

If I try to run the app if tells me that it can't be verified (sorry this is in French):

enter image description here

I doubt that this problem comes from the app itself because it runs fine in the simulator and on one device with the same major OS version.

What is wrong here?


Solution

  • There are several ways to provision the iOS device,

    1. Free provisioning for Xamarin.iOS apps through XCode. If you do not have a paid Apple developer account, you could use this way.

    2. Manual provisioning for Xamarin.iOS. When generating a new provisioning file, remember to also include the device you want to deplay.

    For more info, you could refer to Device provisioning for Xamarin.iOS.