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
Cannot launch watchOS app on M1 machines #10665
Comments
Can you try opening the project properties for the WatchKit3Extension project, and in the "watchOS Build" page, set "Supported architectures" to |
Thanks for your quick reply. |
@tipa is that with the same sample (https://docs.microsoft.com/en-us/samples/xamarin/ios-samples/watchos-watchkitcatalog/)? Because I just tried downloading that sample, changing the architectures to i386 + x86_64, and I was able to launch in the watch simulator (with watchOS 7.2). |
@rolfbjarne yes, this project. I just downloaded it again from scratch, changed the architecture and nothing else - same error. App seems to start up for 2 secs, then crashes/closes
|
Turns out I can repro on an M1 machine, but not on Intel machines. |
@rolfbjarne: Yes correct. M1 machine not able to run but intel machine works fine. Can you please find the solution for the M1 Machine? |
Can someone confirm whether it's actually possible to run WatchKit apps on M1? I found https://stackoverflow.com/questions/66657154/are-m1-macs-able-to-run-watch-apps claiming the contrary If it even fails in Xcode, xamarin has no chance |
I'm pretty sure I was running WatchOS apps on both the Simulator (definitely) and real devices. In Xcode 12 it was flaky, the Xcode 13 betas are much better - debugging apps on real devices in the Xcode 13 beta is much more fast and reliable. |
Hi @rolfbjarne! |
I also changed to M1 Pro Macbook and I'm facing the same issue. Now it is not possible to develop an iOS Watch App with M1 neither on a Simulator nor on real device (#8810). This is maximum frustrating and there seems to be no changes in the future. @rolfbjarne Can you tell me who is the manager and take care about the development of Xamarin for supporting Apple Watch. So I would come to the decision, that Xamarin is not the future of mobile development. Does this work in VS Mac 2022 Preview with MAUI? |
Hi @DamianMehers! |
I'm afraid I've moved from using .NET/C# to using Swift and SwiftUI for my Apple Watch and iOS apps :-(. With .NET MAUI, Apple Watch support has been dropped, at least in the initial release. Just in case it wasn't clear, I'm just a developer using the tools like you, I don't work for Microsoft. |
Steps to Reproduce
Expected Behavior
watchOS and iOS simulators start up and app launches
Actual Behavior
watchOS and iOS simulators start up but this error shows up:
error HE0046: Failed to install the app 'com.xamarin.WatchKitCatalogDemo.watchkitapp' on the device 'watchOS 7.2 (18S561) - Apple Watch Series 6 - 44mm': ???WatchKitCatalog??? Needs To Be Updated
Environment
Example Project (If Possible)
https://docs.microsoft.com/en-us/samples/xamarin/ios-samples/watchos-watchkitcatalog/
The text was updated successfully, but these errors were encountered: