It would be great to be able to include native SwiftUI watchOS app in Xamarin.iOS project. Similarly to extensions (AdditionalAppExtensions).
For now, I think it is possible by pasting manually the Watch folder from the built native project into xcarchive created by Visual Studio.
It would be great to have it integrated.
I successfully managed to add native watchOS to my Xamarin xcarchive and publish it on App Store.
Instruction:
I had sometimes problems with connectivity on the simulator, not sure why, but it helped to add to Xamarin watchOS project (it's later anyway replaced in xcarchive by native one).
Steps to run it on simulator and fix connectivity issues:
xcrun simctl install booted WatchApp.app (from native DerivedData folder Build/Products/Debug-watchsimulator)For some reason, connection with Apple Watch doesn't work when you are running app using VS debugger.
Most helpful comment
I successfully managed to add native watchOS to my Xamarin xcarchive and publish it on App Store.
Instruction:
I had sometimes problems with connectivity on the simulator, not sure why, but it helped to add to Xamarin watchOS project (it's later anyway replaced in xcarchive by native one).
Steps to run it on simulator and fix connectivity issues:
xcrun simctl install booted WatchApp.app(from native DerivedData folder Build/Products/Debug-watchsimulator)For some reason, connection with Apple Watch doesn't work when you are running app using VS debugger.