Bug 34134 - Unable to retrieve iOS SDK information from Xamarin Mac Agent server
Summary: Unable to retrieve iOS SDK information from Xamarin Mac Agent server
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 4.0.0 (C6)
Hardware: PC Windows
: High major
Target Milestone: 4.0.0 (C6)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-09-21 15:55 UTC by larslinq
Modified: 2015-10-09 02:06 UTC (History)
5 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 larslinq 2015-09-21 15:55:29 UTC
Create new Xamarin application in Visual Studio 2015 (or 2013)

Connect to Mac:

xxxxxxx
Starting Broker 4.0.0.1372 in port 52817...
Disconnected from Mac Larss-Mac-mini.local (192.168.1.73)
Couldn't connect to Larss-Mac-mini.local. Please try again.
Starting Broker 4.0.0.1372 in port 56737...
SSH Connection established with the Mac 192.168.1.73:22:56737
Starting agents on Mac Larss-Mac-mini.local (192.168.1.73)
Activating the Mac...
Starting Agent IDB 4.0.0.1372...
Connected to the Mac Larss-Mac-mini.local (192.168.1.73) with Limited support.
Agent IDB 4.0.0.1372 is running
Starting Agent Build 4.0.0.1372...
Agent Build 4.0.0.1372 is running
Starting Agent Designer 4.0.0.1372...
Agent Designer 4.0.0.1372 is running
Connected to the Mac Larss-Mac-mini.local (192.168.1.73) with Full support.
xxxxxx

In project properties iOS Build: SDK Version is Empty
In Deployment Target: "Unable to retrieve iOS SDK information from Xamarin Mac Agent server"
In iOS Bundle Signing: Failed to obtain Profile Information from the build server

So Stuck!

Microsoft Visual Studio Community 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00079

Installed Version: Community

Visual Basic 2015   00322-20000-00000-AA204
Microsoft Visual Basic 2015

Visual C# 2015   00322-20000-00000-AA204
Microsoft Visual C# 2015In 

Visual C++ 2015   00322-20000-00000-AA204
Microsoft Visual C++ 2015

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools   14.0.20626.0
ASP.NET and Web Tools

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.

GenerateUnitTest   1.0
Generates unit test code for methods in classes under test.

GitHub.VisualStudio   1.0
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager   3.0.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.50717.0
Microsoft SQL Server Data Tools

Xamarin   4.0.0.1372 (9050b35)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   5.1.99.678 (d9cd0f1)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   8.13.0.143 (c48e34e)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 2 Alan McGovern 2015-09-22 07:15:50 UTC
This looks like an issue in the new XMA communication infrastructure. The log files from the mac aren't included so it's hard to tell for sure. The latest builds from master work for me when compiled locally, but i can't compile the release hash to check that.

If it ends up being an issue with the designer, let me know and assign it back.
Comment 3 Daniel Cazzulino 2015-09-22 09:15:12 UTC
We would need the Mac logs too (if you can export the information from XS, that would be useful too).

But up-front, I see this error in the devenv.log: 

    System.FormatException: Unknown Simulator Device Type specified: IPhone6s

What version of Xcode are you using?
Comment 6 larslinq 2015-09-22 11:54:14 UTC
here is an updated log from Build

1>------ Build started: Project: App35, Configuration: Debug iPhoneSimulator ------
1>  Generated session id: 96272751fa170a7b52ba26a042641889
1>  Generated build app name: App35
1>  Connecting to Mac server 192.168.1.73...
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): warning : The client build2440lc has been disconnected while waiting a post response to topic xvs/Build/4.0.0.1372/execute-task/App35/9627275/DetectSdkLocations
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): warning : The client build2440lc has been disconnected while waiting a post response to topic xvs/Build/4.0.0.1372/execute-task/App35/9627275/DetectSdkLocations
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): warning :    at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__2`2.MoveNext() in C:\Users\builder\data\lanes\2102\9050b356\source\XamarinVS\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:line 164
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018: The "DetectSdkLocations" task failed unexpectedly.
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018: Xamarin.Messaging.Exceptions.ClientDisconnectedException: The client build2440lc has been disconnected while waiting a post response to topic xvs/Build/4.0.0.1372/execute-task/App35/9627275/DetectSdkLocations
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018:    at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__2`2.MoveNext() in C:\Users\builder\data\lanes\2102\9050b356\source\XamarinVS\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:line 185
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018: --- End of stack trace from previous location where exception was thrown ---
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018:    at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__1`2.MoveNext() in C:\Users\builder\data\lanes\2102\9050b356\source\XamarinVS\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:line 0
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018: --- End of stack trace from previous location where exception was thrown ---
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018:    at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__5`2.MoveNext() in C:\Users\builder\data\lanes\2102\9050b356\source\XamarinVS\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:line 0
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018: --- End of stack trace from previous location where exception was thrown ---
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018:    at Xamarin.Messaging.Client.IMessagingClientExtensions.Execute[T](Func`1 postFunction) in C:\Users\builder\data\lanes\2102\9050b356\source\XamarinVS\src\Messaging\Xamarin.Messaging.Client\Extensions\IMessagingClientExtensions.cs:line 216
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018:    at Xamarin.Messaging.Client.IMessagingClientExtensions.Post[TRequest,TResponse](IMessagingClient client, TRequest message, Boolean retain, Int32 timeoutSecs) in C:\Users\builder\data\lanes\2102\9050b356\source\XamarinVS\src\Messaging\Xamarin.Messaging.Client\Extensions\IMessagingClientExtensions.cs:line 170
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018:    at Xamarin.VisualStudio.Build.BuildClient.ExecuteTask(String task, String inputs) in C:\Users\builder\data\lanes\2102\9050b356\source\XamarinVS\src\MSBuild\Xamarin.VisualStudio.Build\BuildClient.cs:line 46
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018:    at Xamarin.VisualStudio.Build.TaskRunner.Run(Task task) in C:\Users\builder\data\lanes\2102\9050b356\source\XamarinVS\src\MSBuild\Xamarin.VisualStudio.Build\TaskRunner.cs:line 74
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018:    at Xamarin.iOS.Tasks.DetectSdkLocations.Execute() in C:\Users\builder\data\lanes\2102\9050b356\source\XamarinVS\src\MSBuild\Xamarin.iOS.Tasks\Tasks\DetectSdkLocations.cs:line 19
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(468,3): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
Comment 7 Daniel Cazzulino 2015-09-23 01:34:11 UTC
Fixed in the upcoming alpha refresh with improved Xcode7 support.
Comment 8 larslinq 2015-09-23 07:06:27 UTC
Thanks. Any idea when this will be released?
Is there a hotfix available?
Comment 9 Daniel Cazzulino 2015-09-23 15:33:38 UTC
Hi Larsling, unfortunately we do not have support for Xcode 7 and the iPhone 6s simulator in our current Alpha builds, but will be releasing an update that includes that support later in our next Alpha update. It should be available on the Alpha channel by the end of this week.
Comment 10 larslinq 2015-09-24 15:09:24 UTC
Thanks. What build version should I be looking for?
Comment 11 Daniel Cazzulino 2015-09-28 23:10:27 UTC
Latest alpha from 9/24 is version 1505. From your other bug report https://bugzilla.xamarin.com/show_bug.cgi?id=32342 it looks like you already have it though.