Xamarin iOS deployment failing after iOS 15 update

VC 1 Reputation point
2021-09-21T15:30:08.13+00:00

A Xamarin application that was successfully deploying to local iOS devices now fails. Only 2 changes:

  1. The devices are now updated with iOS 15
  2. Visual Studio was also updated to 16.11.3 from previous update.

The error message is:
Deploy Error: Could not install the application 'C:\Users...iOS.ipa' on the device xxx. Details: ApplicationVerificationFailed(3892346901) - Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.3nSuVH/extracted/Payload/....iOS.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)

I have tried deleting and re-adding the apple account and changing devices (I don't have an iOS 14.x device now unfortunately but nothing else has changed).

Development environment: VS 2019 16.11.3 (updated to latest version) on a PC with iPad/iPhone connected locally through USB.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,751 Reputation points Microsoft Vendor
    2021-09-22T07:28:18.26+00:00

    Hello,
    Welcome to our Microsoft Q&A platform!
    Xamarin.iOS latest version supports for Xcode 12.5 and iOS 14. If you use VS 2019 16.11.3 and Xcode12.5, you could have a try to use Manuan Provisioning and check the profile in your mac . However, it doesn't include the iOS 15 SDKs APIs, if you use new features, some unknown error may occur when you deploy it to device.
    For more nformation, you can refer to
    https://learn.microsoft.com/en-us/xamarin/ios/deploy-test/provisioning/
    https://github.com/xamarin/xamarin-macios/issues/12778
    Best Regards,
    Wenyan Zhang


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  2. Pat Caruthers 96 Reputation points
    2021-10-04T15:26:26.977+00:00

    I found the latest VS, version 8.10.10 for the Mac works with the latest Xcode, version 13.0

    I had removed my old profiles and remake them, but do not know if that was necessary.

    0 comments No comments