Bug 36462 - [watchOS 1] error HE0020: Could not find a paired Watch device for the iOS device 'iPhone 6'
Summary: [watchOS 1] error HE0020: Could not find a paired Watch device for the iOS de...
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: unspecified
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2015-12-02 08:35 UTC by Prashant Cholachagudda
Modified: 2015-12-03 16:28 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Logs (3.42 KB, application/zip)
2015-12-02 08:36 UTC, Prashant Cholachagudda
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Prashant Cholachagudda 2015-12-02 08:35:11 UTC
When we start the WatchOS extension debug, the simulator and debugging stops immediately

# Steps to reproduce
1. Create a new Single View iOS Project 
2. Add Watch Extension to the solution
3. Set the Watch Extension as start up project

# Expected behavior
The simulator does not start and debugging stops immediately
- Application Output shows below error
Starting iPhone 6
error MT0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com
error HE0020: Could not find a paired Watch device for the iOS device 'iPhone 6'.

# Actual behavior
The iPhone and Watch simulator should start and we should be able to debug the extension

# Test environment (full version information)
	
=== Xamarin Studio ===

Version 5.10.1 (build 3)
Installation UUID: 99b15672-d817-4a4a-a60e-5edcef4cc300
Runtime:
	Mono 4.2.1 (explicit/6dd2d0d)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402010102

=== Xamarin.Profiler ===

Not Installed

=== Xamarin.Android ===

Version: 6.0.0.34 (Business Edition)
Android SDK: /Users/prashantvc/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
		6.0    (API level 23)

SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 22.0.1

Java SDK: /usr
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)

=== Xamarin Android Player ===

Version: 0.6.5
Location: /Applications/Xamarin Android Player.app

=== Apple Developer Tools ===

Xcode 7.1.1 (9081)
Build 7B1005

=== Xamarin.iOS ===

Version: 9.2.1.54 (Business Edition)
Hash: eb4c1ef
Branch: master
Build date: 2015-12-01 02:12:30-0500

=== Xamarin.Mac ===

Version: 2.4.0.109 (Business Edition)

=== Build Information ===

Release ID: 510010003
Git revision: f2021a209d66d49cbc0649a6d968b29040e57807
Build date: 2015-12-01 10:43:40-05
Xamarin addins: dfd4f5103e8951edbc8ac24480b53b53c55e04ff
Build lane: monodevelop-lion-cycle6-baseline

=== Operating System ===

Mac OS X 10.11.1
Darwin Prashants-Mac-mini.local 15.0.0 Darwin Kernel Version 15.0.0
    Sat Sep 19 15:53:46 PDT 2015
    root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64
Comment 1 Prashant Cholachagudda 2015-12-02 08:36:31 UTC
Created attachment 14071 [details]
Logs
Comment 4 Rolf Bjarne Kvinge [MSFT] 2015-12-02 12:24:59 UTC
Can you execute this from a terminal:

    /Applications/Xcode.app/Contents/Developer/usr/bin/simctl list

and attach the output?
Comment 5 Prashant Cholachagudda 2015-12-02 12:29:03 UTC
@rol - Here you go, note that none of the listed simulators in XS works

== Device Types ==
iPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)
iPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)
iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)
iPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)
iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)
iPhone 6s (com.apple.CoreSimulator.SimDeviceType.iPhone-6s)
iPhone 6s Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus)
iPad 2 (com.apple.CoreSimulator.SimDeviceType.iPad-2)
iPad Retina (com.apple.CoreSimulator.SimDeviceType.iPad-Retina)
iPad Air (com.apple.CoreSimulator.SimDeviceType.iPad-Air)
iPad Air 2 (com.apple.CoreSimulator.SimDeviceType.iPad-Air-2)
iPad Pro (com.apple.CoreSimulator.SimDeviceType.iPad-Pro)
Apple TV 1080p (com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p)
Apple Watch - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm)
Apple Watch - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm)
== Runtimes ==
iOS 8.4 (8.4 - 12H141) (com.apple.CoreSimulator.SimRuntime.iOS-8-4)
iOS 9.1 (9.1 - 13B137) (com.apple.CoreSimulator.SimRuntime.iOS-9-1)
tvOS 9.0 (9.0 - 13T393) (com.apple.CoreSimulator.SimRuntime.tvOS-9-0)
watchOS 2.0 (2.0 - 13S343) (com.apple.CoreSimulator.SimRuntime.watchOS-2-0)
== Devices ==
-- iOS 8.4 --
    iPhone 4s (39221665-F473-4A74-BBF5-FB7407B19D1F) (Shutdown)
    iPhone 5 (429CD8C6-3380-49C6-864C-44668EA582BF) (Shutdown)
    iPhone 5s (BBEE4721-B1D7-4B86-B896-858B525A2E71) (Shutdown)
    iPhone 6 (530BF374-F4C5-406D-8A47-737BE2E290BB) (Shutdown)
    iPhone 6 Plus (73039365-DDC6-472B-B504-493F65F75A8A) (Shutdown)
    iPad 2 (6CE88F42-0AB5-4A47-965C-968B58411CE9) (Shutdown)
    iPad Retina (28CE8758-4500-452F-9A98-27A1105C7843) (Shutdown)
    iPad Air (5F8E84E9-7338-4AAD-957C-EE2CF9A36108) (Shutdown)
-- iOS 9.1 --
    iPhone 4s (508575C8-26EE-4F01-83CE-21A40301B6AE) (Shutdown)
    iPhone 5 (A10664D1-997E-443F-81C7-0A90EC3974A5) (Shutdown)
    iPhone 5s (B8CEC8F6-71FF-487E-BBA6-FB7B73E2D943) (Shutdown)
    iPhone 6 (CE4C5D41-13F8-45CF-89BA-B4CD728E7E28) (Shutdown)
    iPhone 6 Plus (A758291A-177E-49DB-892E-AB3CBE7D7DFE) (Shutdown)
    iPhone 6s (A70C9088-DF7E-4F6C-BF25-26862869A056) (Booted)
    iPhone 6s Plus (19D730B1-1CA5-4588-8DBB-D9D5E1940BB5) (Shutdown)
    iPad 2 (2263881D-69AF-48D4-91AF-FBDFD074DD96) (Shutdown)
    iPad Retina (F6753DB6-478B-48FA-954B-6465AFCA4257) (Shutdown)
    iPad Air (99A04CA6-66F7-4E9E-AA38-BB916F1BB328) (Shutdown)
    iPad Air 2 (13D72BA7-FF69-4A79-BE0E-B39FB2CAA8BA) (Shutdown)
    iPad Pro (B1A620F1-73EC-437B-B4DA-571E8912CB30) (Shutdown)
-- tvOS 9.0 --
-- watchOS 2.0 --
    Apple Watch - 38mm (40FC6509-FB89-43B7-AA6B-DB7D27E793DD) (Shutdown)
    Apple Watch - 42mm (A48C2B18-75B2-4EAB-B0B1-A2714DD43659) (Shutdown)
== Device Pairs ==
8DF63E8B-01FE-4A07-8EC4-15220AB4E97B (disconnected)
    Watch: Apple Watch - 38mm (40FC6509-FB89-43B7-AA6B-DB7D27E793DD) (Shutdown)
    Phone: iPhone 6s (A70C9088-DF7E-4F6C-BF25-26862869A056) (Booted)
E1E80DB8-6CE2-4B05-827B-89B8691D5AF6 (disconnected)
    Watch: Apple Watch - 42mm (A48C2B18-75B2-4EAB-B0B1-A2714DD43659) (Shutdown)
    Phone: iPhone 6s Plus (19D730B1-1CA5-4588-8DBB-D9D5E1940BB5) (Shutdown)
Comment 6 Rolf Bjarne Kvinge [MSFT] 2015-12-02 12:35:35 UTC
@Prashant, can you try the "iPhone 6s (iOS 9.1)" simulator and see if that one works?
Comment 7 Prashant Cholachagudda 2015-12-02 12:38:43 UTC
It same behaviour with "iPhone 6s (iOS 9.1)" :(
https://www.dropbox.com/s/grig5y55imymfnn/Screenshot%202015-12-02%2018.07.21.png?dl=0
Comment 8 Rolf Bjarne Kvinge [MSFT] 2015-12-02 12:47:39 UTC
From Slack:

> ​[13:41] Rolf Kvinge @prashant: that's not the 6s​, that's the 6 simulator
> [13:43] but really XS shouldn't list simulators that don't work
> [13:43] Prashant C oops, 6s is not listed in the XS
> ​[13:43] but, it is listed in the Xcode

So there are two bugs here:

1. XS doesn't list the 6s simulators.
2. XS shouldn't list simulators that don't work (from the "simctl list" above, the working devices are the ones under "Device Pairs" at the end)
Comment 10 Jeffrey Stedfast 2015-12-02 19:59:40 UTC
Fixed in the xcode7.1 branch