Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin "The executable was signed with invalid entitlements"

I want to test my created iOS app on my iPhone. The build was successful but while xamarin studio tries to transfer the file via usb to my iPhone i got the following error:

VerifyingApplication: 70%
  PercentComplete: 40
  Status: VerifyingApplication
 ApplicationVerificationFailed: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.yNZx88/extracted/<APPName>.app : 0xe8008016 (The executable was signed with invalid entitlements.)
error MT1006: Could not install the application '/Users/<NAME>/Projects/<APPName>/<APPName>/bin/iPhone/Debug/device-builds/iphone8.2-10.2.1/<APPNamr>.app' on the device '<DEVICEName>': 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).
--- inner exception
Xamarin.Installation.FailedInstallException: 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)

[...]

Application could not be uploaded to the device.

I'm new to xamarin and don't know what to do. A apple developer account is available and the certificate and provisioning Profile are created. The phone is added to device list and a identifier is are created.

Can anyone help me?

like image 220
eiskaltereistee Avatar asked Mar 20 '17 14:03

eiskaltereistee


1 Answers

If your provisions were working before you added and set your "Entitlements.plist" (for example for Icloud) then:

You need to remove the "Entitlements.plist" from your configuration.

Project Option > IOS Bundle Signing > Custom Entitlements (Keep it blank).

like image 121
Delor_Tshimanga Avatar answered Sep 22 '22 12:09

Delor_Tshimanga