无法验证 VS 2019 中 Xamarin Forms 热重启配置功能的代码签名
Failed to verify code signature for Xamarin Forms Hot Restart Provisioning feature in VS 2019
我正在关注 Look iOS Developer and Xamarin Hot Restart 运行 在 VS 2019(最新版本)中新创建的 Xamarin Forms 应用程序。完成步骤后,我无法 运行 设备中的应用程序。我收到 Failed to verify code signature 错误。
我新创建了我的应用程序开发者帐户,我还可以在应用程序开发者门户中看到为提供提供而创建的 VS 2019 证书。
Unhandled Exception: Xamarin.iOS.Windows.WindowsiOSException: Failed to install the application: ApplicationVerificationFailed(3892346904) - Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.9VqxJr/extracted/Payload/App4.iOS.app :
0xe8008018 (The identity used to sign the executable is no longer valid.)
at Xamarin.iOS.Windows.Installer.ApplicationSession.OnInstallProgressReport(IntPtr command, IntPtr status, IntPtr userData) in C:\A\_work\s\src\Tools\Xamarin.iOS.Windows.Launcher\Installer\ApplicationSession.cs:line 324
An error occurred while trying to deploy the app 'App4.iOS.app'.
Details: Error running hotrestart: 'An unexpected error occurred and the process has been terminated'. Command: 'deploy -u=fbffae2ce4c666b7fdb7d99f065bbd40cf4f83ad -i=com.companyname.App4 -n=App4.iOS.app'
2>Deploy failed. The app 'App4.iOS.app' could not be deployed to the device 'Ab'. Please check the logs for more details.
简单的重启就成功了。
我正在关注 Look iOS Developer and Xamarin Hot Restart 运行 在 VS 2019(最新版本)中新创建的 Xamarin Forms 应用程序。完成步骤后,我无法 运行 设备中的应用程序。我收到 Failed to verify code signature 错误。 我新创建了我的应用程序开发者帐户,我还可以在应用程序开发者门户中看到为提供提供而创建的 VS 2019 证书。
Unhandled Exception: Xamarin.iOS.Windows.WindowsiOSException: Failed to install the application: ApplicationVerificationFailed(3892346904) - Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.9VqxJr/extracted/Payload/App4.iOS.app :
0xe8008018 (The identity used to sign the executable is no longer valid.)
at Xamarin.iOS.Windows.Installer.ApplicationSession.OnInstallProgressReport(IntPtr command, IntPtr status, IntPtr userData) in C:\A\_work\s\src\Tools\Xamarin.iOS.Windows.Launcher\Installer\ApplicationSession.cs:line 324
An error occurred while trying to deploy the app 'App4.iOS.app'.
Details: Error running hotrestart: 'An unexpected error occurred and the process has been terminated'. Command: 'deploy -u=fbffae2ce4c666b7fdb7d99f065bbd40cf4f83ad -i=com.companyname.App4 -n=App4.iOS.app'
2>Deploy failed. The app 'App4.iOS.app' could not be deployed to the device 'Ab'. Please check the logs for more details.
简单的重启就成功了。