question

DanEnglish-0029 avatar image
0 Votes"
DanEnglish-0029 asked RobCaplan edited

First Xamarin app iOS crashes immediately on startup

Hello, I am new to Xamarin but very experienced with VS and C#. I created a Xamarin Forms app (blank). It runs on the Android simulator and my Samsung tablet. When I run it on my iPhone 12 or iPad 2, it deploys but the app crashes immediately when I tap on the icon. The device log didn't seem helpful (I can post if anyone wants to see it). How should I troubleshoot this? I am using VS 16.9.1 and Xamarin 16.9.0 on Windows 10. Thanks.

dotnet-xamarin
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

When I run it on my iPhone 12 or iPad 2, it deploys but the app crashes immediately when I tap on the icon.

Hi, DanEnglish-0029. What icon do you mean? The app icon? Please post more details about the issue and the error log. There may be something wrong with the configuration about iOS on your side. What is version of the Xcode? Try to update it the lastest stable version and test again.

0 Votes 0 ·

Hi, I am having this exact problem. It looks like a known bug that will be fixed in the next VS update.

https://developercommunity.visualstudio.com/t/xamarin-forms-application-deployed-with-hot-restar/1338291

1 Vote 1 ·

Thanks for sharing the link, the fix version is coming very soon.

0 Votes 0 ·

0 Answers