Running Xamarin Forms iOS gave me a black screen

Wei Wen 1,096 Reputation points
2021-06-19T14:20:20.947+00:00

I had this problem since later yesterday (06/18/2021). At first I thought this may be related to my changes to the code. So I reverted back to where I knew it should work, and still I had this black screen. I did some search and tried all I could (updating Visual Studio, removing obj and bin folders, cleaning and rebuilding) and this problem still persists. Anyone has an idea what could be causing the black screen?

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

1 answer

Sort by: Most helpful
  1. JessieZhang-MSFT 7,701 Reputation points Microsoft Vendor
    2021-06-21T06:18:48.38+00:00

    Hello,

    Welcome to our Microsoft Q&A platform!

    You can first check if you have upgraded everything to the latest (VS for mac , VS for windows , XCode ).

    If the problem persists,you can try the following methods:

    • Restart PC and visual studio .
    • Delete bin and obj folder on windows side.
    • Reconnect mac agent .
    • Clean and rebuild .
    • Change simulator(iPhone X e,g)
    • Disable remote simulator to Windows (Tools - Options - Xamarin - iOS Settings)

    If problem persists , attach your build log here (Help - Xamarin - Open Logs).

    Best Regards,

    Jessie 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.