Xamarin “The executable was signed with invalid entitlements”

前端 未结 4 1340
执笔经年
执笔经年 2021-01-01 21:55

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:<

4条回答
  •  不知归路
    2021-01-01 22:48

    I had this issue when I tried to register for remote notifications iOS. I set the push notifications capabilities in my Entitlements.plist in Xamarin.iOS project, but systematically got this error:

    ApplicationVerificationFailed: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.vvvwk7/extracted/company.MyApp.Ios.app : 0xe8008016 (The executable was signed with invalid entitlements.)

    My entitlements were set correctly, but The issue was that I was using a wilcard dev provisioning profile, which did not have the push notifications capabilities in Apple developer portal. I had to change to a development provisioning profil, which I set Push notifications capabilities in apple developer portal, and this solved my issue.

提交回复
热议问题