question

GiacomoFerrera-6510 avatar image
0 Votes"
GiacomoFerrera-6510 asked GiacomoFerrera-6510 commented

App distribution problem on iPhone

Greetings,

I am trying to deploy my App on an iPhone X with iOS 14.6 for a physical test.

I have a MacBook with:

  • MacOS Big Sur 14.5, Visual Studio for Mac 8.10.7;

  • Xamarin.iOS 14.20.0.24 (Visual Studio Community);

I performed the entire procedure described in the guide proposed at the Web address:

https://docs.microsoft.com/en-us/xamarin/ios/deploy-test/app-distribution/ad-hoc-distribution?tabs=macos

The compilation is successful, while during installation on the device the procedure stops giving me this error:

ApplicationVerificationFailed: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.VfsuC9/extracted/ECornerApp.iOS.app: 0xe8008016 (The executable was signed with invalid entitlements.)
error MT1006: Could not install the application '/Users/marcobartalucci/Desktop/Xamarin_ECornerAPP_SW/ECornerApp.iOS/bin/iPhone/Debug/device-builds/iphone10.6-14.6/ECornerApp.iOS.app' on the device 'iPhone di Marco ': Your code signing / provisioning profiles are not correctly configured. Probably you have an entitlement not supported by your current provisioning profile, or your device is not part of the current provisioning profile. Please check the iOS Device Log for details (error: 0xe8008016).

Anyone have a solution to this problem?

Thanks!

Giacomo Ferrera


dotnet-xamarinformsdotnet-ios
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

KyleWang-MSFT avatar image
0 Votes"
KyleWang-MSFT answered GiacomoFerrera-6510 commented

Hi GiacomoFerrera-6510,

Welcome to our Microsoft Q&A platform!

1.Make sure the iPhone is added to Devices of your Provisioning Profile.

2.Download the provisioning certificate on your Mac.

3.Go to Project Option > iOS Bundle Signing > remove the "Entitlements.plist"(if exists) in Custom Entitlements.

4.Select "Manual Provisioning" under Bundle Signing.

5.Delete the bin and obj folder under the project path, and rebuild the project.

And here is the document about Manual provisioning for Xamarin.iOS you can refer to.

Regards,
Kyle


If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks Kyle!

now I can load my App on the iPhone!

Regards,

Giacomo

0 Votes 0 ·