I am working on create watchOS app using Xamarin, that connects on start to iOS app (in the same bundle). I am using apple watch simulator series 7 with watchOS 8.0 and iOS 15.0.
- Build and deploy iOS app on Iphone simulator, then stop it.
- Open "Watch" app on iOS and at "available apps" install WatchOS app this is a part of just install iOS app.
- Loading animation is spinning around 2-3 minutes.
- Alert is being displayed "This app could not be installed at this time.Could not install at this time."
On the real Iphone device and real Apple Watch Series 7, installing animation is spinning more than 20 minutes without any result. App was installed from Testflight (build for internal tests).
Anyway I can build and deploy Iphone app on simulator firstly , stop it and then build and deploy watchOS app on simulator. Both simulators are paired and can send messages using WatchConnectivity.
The main problem is than I can not install watchOS from Iphone. How to deal with it? Are there any logs?
CodePudding user response:
Check provisioning profile to include the device so you can install it. Here is a document you can refer to https://docs.microsoft.com/en-us/xamarin/ios/watchos/deploy-test/device