xamarin.ios does not support running or debuggin the previous built version of your project. Please ensure your solution builds before running or debugging it.

Esteban Peralta 26 Reputation points
2021-09-25T21:49:52.32+00:00

I'm getting this error after I upgraded my iphone 11 to iOS 15. Using visual studio version 16.11.3 and debugging a xamarin app using my iphone. I never had this issue with my iphone when it was in IOS 14

xamarin.ios does not support running or debuggin the previous built version of your project. Please ensure your solution builds before running or debugging it.

Developer technologies | .NET | Xamarin
{count} vote

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
    2021-09-27T03:31:36.613+00:00

    Hello,
    Welcome to our Microsoft Q&A platform!

    Since you update your device to iOS15 and Xamarin.iOS last version support for iOS 14.5, it doesn't include iOS 15 SDK when you deploy app to your device. If you want to use iOS15 features, you need update Xcode, download xamarin.ios-15.0.0.6.pkg and install it to your mac. xamarin.ios-15.0.0.6.pkg isn't a relase version, you also could keep the current version without updating Xcode, but it needs another device to deploy .

    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.


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.