Bug 14981 - Unable to generate PIN to pair with VS if Mac build host is already activated.
Summary: Unable to generate PIN to pair with VS if Mac build host is already activated.
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 1.6.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: 1.6.x (connection)
Assignee: dean.ellis
URL:
Depends on:
Blocks:
 
Reported: 2013-09-25 08:07 UTC by Saurabh
Modified: 2015-01-05 11:19 UTC (History)
10 users (show)

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

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 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:
VERIFIED FIXED

Description Saurabh 2013-09-25 08:07:02 UTC
If Mac build host is activated, user unable to get PIN by double clicking on 'Xamarin.iOS Build Host'. However, if mac build host is not activated then user gets PIN by double clicking on 'Xamarin.iOS Build Host'.

Screencast: http://screencast.com/t/VGCToTB9P

Expected result:
User should able to generate PIN by double clicking on 'Xamarin.iOS Build Host' whether Mac build host is activated or not. 

Scenario 1: 
Suppose if Mac build host is already activated and a user try to make pair this mac build host with VS then he is not able to generate PIN and unable to pair it with VS.

Scenario 2:
Suppose if Mac build host is already activated and paired with one VS. Now, user wants to make pair this mac build host with another VS then he is not able to generate PIN and unable to pair it with VS. 

Environment info : 
All Mac
X.iOS 7.0.2.5
Xcode 5 and 4.6.3
Mono 3.2.3
Comment 1 Dominique Louis 2013-10-03 06:04:30 UTC
Dean can you confirm this is related to the licencing issue you fixed a day or 2 ago?
Comment 2 dean.ellis 2013-10-03 06:23:50 UTC
Only one 'PIN' can be generated at a time. 

The idea is that the Xamarin.iOS Build Host can only pair with one Visual Studio. If the user wants to connect a different VS they will need to unpair and pair (i.e generate a new PIN) for the new VS. The old pin will be invalid. 

The issue you are seeing in the screencast is probably due to a staging licence, this has been fixed in the latest version
Comment 3 narayanp 2013-10-03 10:33:20 UTC
Today we have checked this issue with following builds:

All Mac and Windows
VS 2012/2010
iOS for VS 1.6.29
X.iOS 7.0.3.15

Now we are able to generate PIN after clicking on Unpair and the clicking on Pair button from 'Xamarin.iOS Build Host' window on build host.

Changing the status to Verified.