question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't build to local iOS device after updating MAUI workload with Hot Restart

See original GitHub issue

Description

After updating the MAUI workload from version 7.0.59 to 7.0.81 I am no longer able to build to any local iOS devices using Hot Restart on Windows VS 2022. The build errors immediately with the following error: “The specified network password is not correct”. This occurs in both Debug and Release configurations. Automatic provisioning is enabled and I have no issues building to the iOS Simulators through Pair to Mac.

Relevant Infomation: image

Steps to Reproduce

  1. Update MAUI workload to 7.0.81
  2. Attempt to build MAUI project to a local iOS device using Hot Restart

Link to public reproduction project repository

https://github.com/dotnet/maui

Version with bug

7.0.81 (current)

Last version that worked well

7.0.59

Affected platforms

iOS, I was not able test on other platforms

Affected platform versions

iOS 16.2

Did you find any workaround?

No workaround found.

Relevant log output

1>C:\Program Files\dotnet\packs\Microsoft.iOS.Windows.Sdk\16.2.2054\tools\msbuild\iOS\Xamarin.iOS.HotRestart.targets(20,3): error : The specified network password is not correct.
1>C:\Program Files\dotnet\packs\Microsoft.iOS.Windows.Sdk\16.2.2054\tools\msbuild\iOS\Xamarin.iOS.HotRestart.targets(20,3): error :

Issue Analytics

  • State:closed
  • Created 5 months ago
  • Reactions:6
  • Comments:36 (8 by maintainers)

github_iconTop GitHub Comments

6reactions
MLB-BIOMETRICcommented, May 3, 2023

Good news! Maria from Microsoft just commented this on the developercommunity.microsoft.com thread:

A fix for this issue has been internally implemented and is being prepared for release. We'll update you once it becomes available for download.

6reactions
samhoutscommented, Apr 20, 2023

Thanks, everyone! We received the feedback ticket, and we’re on it!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deploy an iOS app using hot restart - NET MAUI
In the Visual Studio toolbar, select your local connected iOS device in the debug target drop-down, and click the Run button to build...
Read more >
My .net maui app using Hot Restart pn iOS device fails ...
My .net maui app using Hot Restart pn iOS device fails building with: Invalid request. Service mapping the the requested url is not...
Read more >
Hot Restart doesn't work on my Xamarin.iOS project
I have Itunes installed, Phone is connected. When I click the Run button, I get the error: There is no local connection available...
Read more >
.NET MAUI Tutorial for Beginners - Build iOS, Android, macOS ...
Let's start our journey together to build beautiful native multi-platform apps with .NET MAUI, C#, .NET, and Visual Studio!
Read more >
Getting started with Microsoft .NET MAUI
In this article, we'll explore MAUI and learn to build a simple to-do ... NET and XAML hot reload, which enables you to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found