Skip to content

Slow build -> deploy on iOS #14560

@Inrego

Description

@Inrego

Description

The build process of iOS apps is very slow. Almost a minute (55 seconds) until first page is shown on physical device. Especially the build seems to take up much time, clocking in at around 40 seconds.

I'm deploying to a physical device that is connected by cable to the Mac.

Here are the specs of the Mac:

image

I tried the same on Xamarin.Forms, where the same process takes 45 seconds, so a bit faster but also tedious.

Such a long cycle to redeploy simple changes in my code makes it very tedious to develop on iOS.
And no, I'm not using Hot Reload, because SkiaSharp doesn't work on iOS with Hot Reload.

Steps to Reproduce

  1. Create new .NET MAUI app from template (.NET 7)
  2. Set up connection to Mac
  3. Set up automatic provisioning
  4. Plug physical device into Mac
  5. Deploy app to device
  6. Stop app
  7. Make small change in code
  8. Deploy app again

Link to public reproduction project repository

N/A

Version with bug

Unknown/Other (please specify)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iPadOS 13.6.1

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-publishingIssues with the app packaging/publishing process (ipk/apk/msix/trimming)perf/generalThe issue affects performance (runtime speed, memory usage, startup time, etc.) (sub: perf)platform/ioss/needs-infoIssue needs more info from the authors/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions