-
Notifications
You must be signed in to change notification settings - Fork 514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Meta] Apple Silicon Support #10005
Comments
Is there an exception raised with that message with the iOS Simulator? And I guess this is great news then! Because the apple docs state that:
and that
so Xamarin developers shouldn't need to do anything! |
It would be great if Apple Silicon support could be expanded, by enabling running the app outside the simulator when building/developing on a M1 Mac. This might be an easier feature to allow than say full Catalyst support. Today I have to publish my Xamarin.iOS app to TestFlight/AppStore, and then install it on my M1 Mac to test how the UI looks when running on macOS. I am sure I can also sign/run the PKG file, but would be great if it was built into Visual Studio for Mac, with macOS a run/debug target. |
@follesoe have you seen this? https://youtube.com/watch?v=IqeRPm197C4 |
Yes. Well aware of Mac Catalyst and different efforts (including this one) for supporting it from Xamarin. However, there are several limitations in the above prototype not making it a viable option for us now (awaiting official support from Microsoft). But, on M1 Macs our app runs perfectly. But to test it (for instance to verify layout on super large screens) I have to create and package and ad hock build and launch it, versus just launching and running outside simulator. I believe this would be a much easier scenario to support than full Catalyst support, as they don't need any different libs, underlying .NET runtime etc - it's the exact same pkg file and binary. |
Have you managed to get the Xamarin.iOS application to work on macOS directly? The Praeclarum Mac Catalyst isn't working for my project. |
When running iOS apps on M1 you do not need Catalyst. You run run the exact same binary directly on the Mac. And yes, Xamarin.iOS apps runs just fine, but you need to create a signed AdHoc build and cannot launch it directly from Visual Studio, which is my feature request. Against, this has nothing to do with Catalyst, and is only relevant for M1 Macs. |
Wow I didn't know you could do that; I thought there was an additional step. Thanks very much! And yes, it is a great feature request. |
If anyone else is looking to deploy/install your app on an M1 Mac directly from a Xamarin iOS app, you guys should check this out |
Any ETA on this for Xamarin.Mac? And will we be able to build universal applications (i.e. built with both the x86_64 and arm64 architectures)? |
@xfortin-devolutions according to Microsoft no: https://devblogs.microsoft.com/dotnet/announcing-net-6-preview-1/ To quote that page:
It is quite interesting that a random comment got two likes in one hour on Monday morning for the topic with so low developer interest. Most of the comments on 'popular topics' don't get a single like. And to my best knowledge Mac App Store publishing is officially supported, there is an official page on this topic and it never ever says something like 'beta': https://docs.microsoft.com/en-us/xamarin/mac/deploy-test/publishing-to-the-app-store/ While it is a major disappointment that this won't be supported it is even worse that they have used multiple lies to explain their decision. I don't like to use that word, but unfortunately that is how the things are at the moment. Hopefully it will get better. |
We've released support for this as a preview: https://docs.microsoft.com/en-us/xamarin/mac/release-notes/7/7.13#preview-of-apple-silicon-support @ivanicin
Unfortunately this is case of different people talking about different things. This paragraph is referring to .NET 5's existing macOS support (without Xamarin, just a plain .NET command line executable for instance): you can't create an .app with .NET 5 this way and publish it to the app store. And neither is it a goal for us to make this possible in .NET 6 (so the App Store's requirement to create universal binaries doesn't really apply, because you can't publish to the App Store this way anyway). However, if you create a Xamarin-based project, we'll support publishing it to the App Store in .NET 6, and we'll also support universal binaries. |
In fact it looks like we've already implemented everything this issue talks about in the description, so I'm closing this. |
Thanks @rolfbjarne ! I'll look into the preview version in the coming weeks. Do you know when those changes will be in a stable version? |
The changes should already be in the stable version of Xamarin.Mac, they're just considered a preview. |
Ah, good to know, thanks again. |
@rolfbjarne first I appreciate your explanation and I am also very happy to hear that this support is coming. However there are some things in this one cannot be happy about, though after your comment I must stress those are not major things:
|
@ivanicin
I hear you, and I agree our outward communication can get much better. I don't think I'll be able to change the existing blogpost, but I'll take this up internally for future blogposts (and any other documentation we write). |
@rolfbjarne Well, if I can suggest something, in this case, it would have been nice for the github ticket(s) to be updated accordingly. I would have started working on it sooner had I known it was already (although as a preview) available. I'm following those tickets for this reason, but it is not as reliable a method as I would have hoped. |
The team is investigating Apple Silicon support on the current Developer Transition Kit (DTK).
As of December 1st the status is:
The text was updated successfully, but these errors were encountered: