Xamarin iOS development problem with iOS Bundle Signing

Gregg Lanzing 1 Reputation point
2022-04-26T19:30:29.833+00:00

I have an iOS app developed in xamarin that has been working well for over a year. Just recently, it began to fail when deploying to a connect device (iPad). The following error is displayed:

Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.Uk5CWK/extracted/Payload/{app name}: 0xe8008015 (A valid provisioning profile for this executable was not found.)

I've done a bunch of googling and I can see many recent posts with the same issue. When I try to sign in to my apple account in visual studios, I'm able to log into my account but I'm unable to download my certificates. The following error is displayed:

"This request is forbidden for security reasons: Authentication Error. Xcode 7.3 or later is required to continue to developing with your apple ID"

The mac OS I attach to is Monterey and the installed Xcode version is 13.3.1. It seems that whenever Visual Studio is trying to access my apple account certificates and profiles this error occurs.

Does anyone have any idea what to do about this? Thanks and I appreciate any help with this matter. Currently my development has ground to a halt and clients are waiting.

Developer technologies .NET Xamarin
{count} votes

1 answer

Sort by: Most helpful
  1. Rob Caplan - MSFT 6,032 Reputation points Microsoft Employee Moderator
    2022-04-26T22:14:10.033+00:00

    This is a known issue being tracked at https://developercommunity.visualstudio.com/t/Cannot-load-Apple-certificates/1692185 . There are temporary workarounds documented in the bug report.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.