xamarin / xamarin-macios

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
Other
2.49k stars 515 forks source link

[META] Xcode 15.3/4 Support for .NET 8 and MAUI #20257

Closed dalexsoto closed 3 months ago

dalexsoto commented 8 months ago

Hello!

Xcode 15.3 was released on March 5, 2024. We are in the process of updating our bindings and our infra in order to support this release.

~As of the time of this post, Xcode 15.3/4 is not recommended to be used with our .NET MAUI or Xamarin SDKs so our advise is not to install it just yet and keep using Xcode 15.2 for the time being.~

At the moment we have no record of any outstanding issues that prevents Xcode 15.3/4 from working with the latest release of .NET 8 + our workloads (except that none of the new APIs in Xcode 15.3/4 will be available until we release support specifically for Xcode 15.3/4).

However, if you need to download Xcode 15.2 you can get it from the Apple Developer portal.

Known issues

iOS 17.4 Simulator crashes


We'll keep this post updated as we learn more.

Thank you!

-The macios team

rolfbjarne commented 3 months ago

Also, I know this is the wrong thread, but what about support for interface builder for VS Code?

That's tracked here: https://github.com/microsoft/vscode-dotnettools/issues/571

rolfbjarne commented 3 months ago

Will this make it into a final release of VS for Mac?

No more updates are planned for VS for Mac.

dalexsoto commented 3 months ago

Will this make it into a final release of VS for Mac? Also, I know this is the wrong thread, but what about support for interface builder for VS Code?

That said nothing stops you doing a ‘dotnet workload update’ in your mac that has VSMac installed once the new version of .NET for IOS is released

phillippschmedt commented 3 months ago

Can someone explain to me why I suddenly get this warning? ILLINK : warning MT0079: The recommended Xcode version for Microsoft.iOS 17.5.8018 is Xcode 15.4 or later. The current Xcode version (found in /Applications/Xcode-15.2.0.app/Contents/Developer) is 15.2.

What is Microsoft.iOS version 17.5.8018 and how did I get it? Where are the release notes for it? Is it safe to update to XCode 15.4 now?

matteomonizza commented 3 months ago

I use XCode 15.4 with no problem

phillippschmedt commented 3 months ago

Thank you. I also updated to Xcode 15.4 and it work's fine.

Domik234 commented 3 months ago

In case of need you should be able to download Xcode's specific version, rename it (like on picture - suffix with version), copy it to Applications on Mac and then switch between default and "custom downloaded" by changing the Xcode path in VS settings because they can co-exists next to themself. image

Note: Remote Simulator on changed Xcode path does not work so you have to use VNC or directly Mac to access the simulator.

IainS1986 commented 3 months ago

Or, use XCodes 👍 https://www.xcodes.app/

rolfbjarne commented 3 months ago

What is Microsoft.iOS version 17.5.8018 and how did I get it? Where are the release notes for it? Is it safe to update to XCode 15.4 now?

There was a miscommunication on our side; the iOS team thought the release was going out next week, but then it went out yesterday instead, so the release notes weren't ready.

They've been published now: https://github.com/xamarin/xamarin-macios/releases/tag/dotnet-8.0.1xx-xcode15.4-8018

And yes, it's safe to update to Xcode 15.4 now.