简体   繁体   中英

Failed to verify code signature of… Can't install application on my iPhone

I can't install my app to my iPhone using this: https://docs.microsoft.com/ru-ru/xamarin/ios/get-started/installation/device-provisioning/free-provisioning?tabs=macos

I do everything like this, but it shows this error in console

 VerifyingApplication - PercentComplete: 40%
 ApplicationVerificationFailed: Failed to verify code signature of....: 0xe8008016 (The executable was signed with invalid entitlements.)
error MT1006: Could not install the application '..' on the device 'iPhone': Read Error (error: 0xe8000004)

PS I connect my iPhone via network

Have a try with checking Bundle Signing and Enabling Automatic Signing :

  1. Pair Visual Studio 2019 to a Mac as described in the Pair to Mac guide.
  2. In the Solution Explorer , right-click the project name and select Properties . Then, navigate to the iOS Bundle Signing tab .
  3. Select the Automatic Provisioning scheme :

在此处输入图片说明

  1. Select your team from the Team combo box to start the automatic signing process.

在此处输入图片说明

将自定义属性检查为Entitlements.plist帮助了我

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM