dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.04k stars 1.73k forks source link

Cannot publish iOS from Windows after connecting to Mac #23069

Closed ericgrantholland closed 2 months ago

ericgrantholland commented 3 months ago

Description

Maui Publish for iOS does not work. I get a spinner saying "archiving app bundle" that never finishes. After many hours of trying, I tried from command line and get the cryptic error below:

C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8053\tools\msbuild\iOS\Xamarin.Shared.targets(1838,3): error : Cou ld not find Microsoft.iOS in '/Users/ericholland/Library/Caches/Xamarin/XMA/SDKs/dotnet/'packs/Microsoft.iOS.Sdk/17.2.8 053/. [C:\Dev\Devops\TaxComm\TaxCommPro.MAUI\TaxCommPro.MAUI.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8053\tools\msbuild\iOS\Xamarin.Shared.targets(1838,3): error : [C:\Dev\Devops\TaxComm\TaxCommPro.MAUI\TaxCommPro.MAUI.csproj::TargetFramework=net8.0-ios]

I can't find any guidance on how to fix this.

Steps to Reproduce

  1. Create a maui application on Windows.
  2. Get a mac, setup XCode 15.0.1
  3. Setup App in Apple developer etc.
  4. Pair Visual studio to the Mac and attempt to publish to iOS

Link to public reproduction project repository

No response

Version with bug

8.0.10 SR3

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

github-actions[bot] commented 3 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

dotnet-policy-service[bot] commented 3 months ago

Thanks for the issue report @ericgrantholland! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS.

If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.

  1. Go to the Visual Studio for Windows feedback tool or Visual Studio for Mac feedback tool to report the issue
  2. Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.
dotnet-policy-service[bot] commented 3 months ago

Thanks for the issue report @ericgrantholland! This issue appears to be a problem with Visual Studio (Code), so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS (Code).

If you encounter a problem with Visual Studio or the .NET MAUI VS Code Extension, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.

  1. Go to the Visual Studio for Windows feedback tool or .NET MAUI VS Code Extension repository to report the issue
  2. Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.
drasticactions commented 3 months ago

The MAUI UI team does not maintain this tooling, Visual Studio does. If you file your question there, they should be able to help.

jfversluis commented 2 months ago

Assuming this has been reported in the right place by now. Thanks!