question

DavidMasters-4442 avatar image
0 Votes"
DavidMasters-4442 asked ErikWettergren-3265 commented

How debug issues when Xamarin iOS wont update icons or splash screen

Hi

So my Xamarin Forms project has a custom icon and splash screen taking as much as a I can from the details in
https://docs.microsoft.com/en-us/xamarin/ios/app-fundamentals/images-icons/app-icons?tabs=windows
https://docs.microsoft.com/en-us/xamarin/ios/app-fundamentals/images-icons/launch-screens?tabs=windows

However, no matter what i do - the icon and splash screen never update and i always see the xamarin icons.

I have deleted the Xamarin icons from the project, cleaned (and deleted bin/obj) but no success.

So my question, is what are the best debug steps i can take when someone encounters issues like this?

Happy to provide extra info to flesh out the question, let me know what needed but cant provide my repo.

My current setup is Xamarin Forms 5.0.0.1874 (latest) and I'm using Hot Restart.

Thanks

dotnet-xamarin
· 1
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.

It's worth mentioning on this, that I have recently done a build through App Center and distributed via Test Flight. This build shows the splash screen and Icon correctly, which seems to indicate a bug or issue with VS.

The question still stands though, as I am stumped as to how I would know the error without doing a build/distribute which for most people is not practical.

0 Votes 0 ·

1 Answer

ColeXia-MSFT avatar image
1 Vote"
ColeXia-MSFT answered ErikWettergren-3265 commented

Hello,

Welcome to Microsoft Q&A!


Check the limitations of Hot Restart


Asset Catalogs are currently not supported. When using Hot Restart, your app will show the default icon and launch screen for Xamarin apps. When paired to a Mac, or developing on a Mac, your Asset Catalogs will work.


If you use mac agent to deploy your application on device , the problem should be able to solved .

Thank you.


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

Thank you for this clarification! I spent a good few hours scratching my head over this issue - looking through forums and googling intensly.

0 Votes 0 ·