Error testing iOS version .NET MAUI

Nam Pham 126 Reputation points
2022-12-20T04:38:03.91+00:00

I'm using Visual Studio 2022 on Windows for building .NET MAUI App

I want to test App on different iOS version

I use pair to Mac of VS 2022 to connect with a IMAC

On IMAC, i create 2 simulators with different version of iOS (15.4 and 16.0) for testing iOS version

272356-image.png

When i run the project it has an error

272358-image.png

Does anyone know how to fix it, if it doesn't please let me know is there any way to test iOS version

thanks in advance.

Developer technologies | .NET | .NET MAUI
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,451 Reputation points Microsoft External Staff
    2022-12-22T02:23:19.95+00:00

    Hello @Nam Pham ,

    You could try to update VS to the latest version ( Visual Studio 2022 version 17.4.3 ), Xcode 14.1 has been supported for MAUI and Xamarin. And you need to set the Command Line Tool to 14.1 under Location of Xcode preference.

    Best Regards,
    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.