Bug 39655 - [XVS 4.0.1.145] iOS 6 and iOS 7 devices are not displayed in the devices drop-down menu, device logs show repeating error "set_response_error: handle_get_value GetProhibited"
Summary: [XVS 4.0.1.145] iOS 6 and iOS 7 devices are not displayed in the devices drop...
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS (show other bugs)
Version: 4.0.0 (C6)
Hardware: PC Windows
: High major
Target Milestone: 4.1.0 (C7)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-03-15 16:36 UTC by Cody Beyer (MSFT)
Modified: 2016-03-18 10:53 UTC (History)
11 users (show)

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


Attachments

Description Cody Beyer (MSFT) 2016-03-15 16:36:17 UTC
# Description

Attempting to use an iOS 7 device for debugging will fail due to the device being unavailable in either Xamarin Studio on Mac or Visual Studio. These conditions exist despite the device being recognizable and deployable in Xcode, and despite the target version being set appropriately

# Steps to Reproduce

1. Create iOS Single View App
2. Set target to iOS 7
3. Attach iOS 7 device
4. Attempt to deploy to attached iOS 7 Device

# Expected Results

Deploying to attached device should succeed without any issue

# Actual Results

The device can not be deployed to as it is not available

# Versions

=== Xamarin Studio ===

Version 5.10.3 (build 26)
Installation UUID: 3125c182-e073-4ec9-967b-0a5366a441ba
Runtime:
Mono 4.2.3 (explicit/832de4b)
GTK+ 2.24.23 (Raleigh theme)

Package version: 402030004

=== Xamarin.Profiler ===

Not Installed

=== Xamarin.Android ===

Version: 6.0.2.1 (Business Edition)
Android SDK: /Users/macmini01/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.4 (API level 19)

SDK Tools Version: 23.0.5
SDK Platform Tools Version: 21.0.0
SDK Build Tools Version: 21.1.1

Java SDK: /usr
No Java runtime present, requesting install.

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Android Player ===

Not Installed

=== Apple Developer Tools ===

Xcode 7.2.1 (9548.1)
Build 7C1002

=== Xamarin.Mac ===

Not Installed

=== Xamarin.iOS ===

Version: 9.4.2.27 (Business Edition)
Hash: 58ba2bc
Branch: master
Build date: 2016-03-03 09:05:19-0500

=== Build Information ===

Release ID: 510030026
Git revision: ac9b7fcba9ee92ac30c8eb90f20c2228ce033efa
Build date: 2016-03-01 18:02:09-05
Xamarin addins: 633fde3bf405e3c402a51980976c431c204cf4f6
Build lane: monodevelop-lion-cycle6-c6sr2

=== Operating System ===

Mac OS X 10.11.3
Darwin Macs-Mac-mini-2.local 15.3.0 Darwin Kernel Version 15.3.0
Thu Dec 10 18:40:58 PST 2015
root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64
Comment 1 Sebastien Pouliot 2016-03-15 17:52:24 UTC
The fact it happens on both XS and VS means it's likely an issue with shared code (likely maciostools), but I'm surprised it happens with 9.4.x (and not just C7).

@Rolf could that be related to https://bugzilla.xamarin.com/show_bug.cgi?id=39609 ?
Comment 2 Rolf Bjarne Kvinge [MSFT] 2016-03-15 18:26:23 UTC
No, it's not directly related to bug #39609 (mtouch does not share any code with XS/VS in this area).

However this has already been reported for XS as bug #39508, so I'm moving this to the VS product.
Comment 4 Brendan Zagaeski (Xamarin Support) 2016-03-16 23:43:46 UTC
I can replicate this behavior locally, so I will confirm the bug.




## Regression status: regression in "Cycle 6 – Service Release 2"

> BAD:  XamarinVS 4.1.0.111 (a78562a) + Xamarin.iOS 9.8.0.58 (fa3b68c) + Xcode 7.2
> BAD:  XamarinVS 4.0.1.145 (f869dba) + Xamarin.iOS 9.4.2.27 (58ba2bc) + Xcode 7.2 
> GOOD: XamarinVS 4.0.1.96  (dcea9c1) + Xamarin.iOS 9.4.1.25 (962a050) + Xcode 7.2




## Additional testing environment info (brief)


### Devices tested

iPhone 4, iOS 7.1


### OS X 10.10.5

Mono 4.4.0 (f8474c4) (64-bit)


### Windows 10 (64-bit)

Visual Studio Professional 2013, Update 5
Comment 6 Jeffrey Stedfast 2016-03-17 21:09:26 UTC
I've got a fix for this in maciostools, but the VS team will need to update whatever it is they need to in order to get that fix.
Comment 7 Jeffrey Stedfast 2016-03-17 21:19:02 UTC
My fix is on the cycle6-bug39508 branch. It's also on cycle6-c6sr2.
Comment 8 Danish Akhtar 2016-03-18 05:53:45 UTC
I am also able to reproduce this issue with XVS 4.0.1.145 + X.iOS 9.4.2.27 + Xcode 7.2. However this issue doesn't exits with XVS 4.0.1.147(1cc3a99), iOS 7 device is displaying in VS.

Hence closing this issue.

Environment info:
Microsoft Visual Studio Enterprise 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Version 4.6.01038

Installed Version: Enterprise

Architecture and Modeling Tools   00322-80000-00000-AA676
Microsoft Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Visual Basic 2015   00322-80000-00000-AA676
Microsoft Visual Basic 2015

Visual C# 2015   00322-80000-00000-AA676
Microsoft Visual C# 2015

Visual C++ 2015   00322-80000-00000-AA676
Microsoft Visual C++ 2015

Application Insights Tools for Visual Studio Package   4.2.60128.3
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1 (Beta8)   14.1.11106.0
ASP.NET and Web Tools 2015.1 (Beta8)

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.30624.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.5
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager   3.3.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   14.0.50616.0
Microsoft SQL Server Data Tools

TypeScript   1.7.6.0
TypeScript for Microsoft Visual Studio

Xamarin   4.0.1.147 (1cc3a99)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.0.2.1 (46c3f7e)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   9.4.2.28 (686b410)
Visual Studio extension to enable development for Xamarin.iOS.

Xcode 7.2

Device: iPhone 4 v7.1.2
Comment 9 Danish Akhtar 2016-03-18 05:53:56 UTC
I am also able to reproduce this issue with XVS 4.0.1.145 + X.iOS 9.4.2.27 + Xcode 7.2. However this issue doesn't exits with XVS 4.0.1.147(1cc3a99), iOS 7 device is displaying in VS.

Hence closing this issue.

Environment info:
Microsoft Visual Studio Enterprise 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Version 4.6.01038

Installed Version: Enterprise

Architecture and Modeling Tools   00322-80000-00000-AA676
Microsoft Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Visual Basic 2015   00322-80000-00000-AA676
Microsoft Visual Basic 2015

Visual C# 2015   00322-80000-00000-AA676
Microsoft Visual C# 2015

Visual C++ 2015   00322-80000-00000-AA676
Microsoft Visual C++ 2015

Application Insights Tools for Visual Studio Package   4.2.60128.3
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1 (Beta8)   14.1.11106.0
ASP.NET and Web Tools 2015.1 (Beta8)

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.30624.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.5
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager   3.3.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   14.0.50616.0
Microsoft SQL Server Data Tools

TypeScript   1.7.6.0
TypeScript for Microsoft Visual Studio

Xamarin   4.0.1.147 (1cc3a99)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.0.2.1 (46c3f7e)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   9.4.2.28 (686b410)
Visual Studio extension to enable development for Xamarin.iOS.

Xcode 7.2

Device: iPhone 4 v7.1.2

Note You need to log in before you can comment on or make changes to this bug.