Skip to content

cannot build IOS after updating VS. MSBuild was unable to connect to the Mac. it IS connected to Mac? #23292

Open
@exquirentibus

Description

@exquirentibus

Apple platform

macOS, iOS

Framework version

net9.0-*

Affected platform version

VS 2022 to 17.14.8 preview 1.0 .NET SDK: Version: 9.0.302

Description

I was able to build .NET9 Maui for IOS 2 days ago. I upgraded VS 2022 to 17.14.8 preview 1.0 which updated .NET to
.NET SDK: Version: 9.0.302
Host: Version: 9.0.7

Now, I connect to Address='172.16.0.113' using Tools->IOS->Pair to Mac and have it show connected. I select the tethered iPhone from IOS Remove devices.

And now when I clean and build in release mode, I get:

C:\Program Files\dotnet\packs\Microsoft.iOS.Windows.Sdk.net9.0_18.5\18.5.9207\tools\msbuild\iOS\Xamarin.Messaging.Build.targets(114,3): error : MSBuild was unable to connect to the Mac with Address='172.16.0.113' and User='xxxx'. This connection is separate from Visual Studio and without it the project can't build. Please try building again or report this problem if the issue persists

Steps to Reproduce

I've restarted both the MacStudio with Sequoia 15.5 and running latest Xcode 16.4 and my Windows 10 box. No change.

Did you find any workaround?

No

Build logs

even some of the log files have my full name so I must pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    need-attentionAn issue requires our attention/response

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions