Dalibor Trišić
Dalibor Trišić

Reputation: 93

Why MAUI app startup time on iOS is so slow?

I am facing a problem that MAUI app startup on iOS is much slower than on Android or Windows.

The deployment is done using Visual Studio Version 17.3.0 Preview 1.1 and I have tried to create and deploy a new project, without any additions.

Startup on iOS (iPhone, iPad updated to the latest OS version) > 10 seconds
Android < 2 sec
Windows < 2 sec

Can't find any resources regarding this.

P.S. Xamarin Forms vanilla app built and deployed with Visual Studio 17.2 is much faster, < 4 sec on the same devices.

Upvotes: 2

Views: 3011

Answers (2)

NickG
NickG

Reputation: 9820

It's a known issue being tracked on their Github for well over a year, but for some reason the MAUI team seem to have no interest in fixing it and haven't even recently commented on the issue despite it being a significant impediment to iOS development for most users:

https://github.com/dotnet/maui/issues/11392

Upvotes: 0

Dalibor Trišić
Dalibor Trišić

Reputation: 93

Finally, I did various kinds of builds and deployments. The result:

  1. Debug deployment from Visual Studio directly to iPhone. Startup > 10 seconds.
  2. Debug deployment from Visual Studio to iPhone attached to paired Mac computer. Startup time = 3 seconds
  3. Release build on Mac, deployed to TestFlight and then installed on iPhone. Startup time = 1 second.

So, the only slow thing is the direct deployment from Visual Studio to iPhone, but I can live with that.

Upvotes: 5

Related Questions