Bug 15349 - [MTVS]Getting build error while deploying an application on simulator.
Summary: [MTVS]Getting build error while deploying an application on simulator.
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 1.6.x
Hardware: PC Windows
: Highest blocker
Target Milestone: 1.6.x (connection)
Assignee: Dominique Louis
URL:
Depends on:
Blocks:
 
Reported: 2013-10-11 04:32 UTC by narayanp
Modified: 2015-01-05 11:20 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 narayanp 2013-10-11 04:32:45 UTC
Steps to reproduce:
1. Open VS.
2. Create or open any iOS application.
3. Connect to build host.
4. Observe that build host is successfully connected to VS.
5. Now debug or run the application on simulator using VS.

Actual Result:
Getting build error while deploying an application on simulator:
The remote server returned an error: (429).
at System.Net.HttpWebRequest.GetResponse()
at MonoTouch.Tools.Utilities.BuildServerClient.ServerIO.Server_GetResult[T](String command,IDictionary`2 queryVariables) 

Expected Result:
User should able to deploy and launch application on simulator using VS successfully.

Supplement Info:
Debug Log:https://gist.github.com/saurabh360/e5f8fe5e4687f5a801c3
Mac server Log:https://gist.github.com/saurabh360/74deb2333acd6bf8067b
MTBSERVER Log: https://gist.github.com/saurabh360/9edaa4bfe35999a5db68

Environment details:
All Windows
VS 2013/2012/2010
iOS for VS 1.6.81
X.iOS 7.0.2.67

Regression Status:
This is working fine with X.iOS 7.0.2.43
Comment 1 dean.ellis 2013-10-11 12:55:43 UTC
This problem is caused because you have an old version of mtvs 1.6 and a new version of mono touch. 

Please upgrade to the latest builds of both.
There was an additional issue I got after this to do with the starting the debug session, but that is fixed in this commit monotouch/e4130108f2

You will need to have a build of monotouch and mtvs which is after that commit. e4130108f2 in the monotouch 1.6 branch (its also in master)
Comment 2 PJ 2013-10-11 12:57:41 UTC
Sorry Dean, but these were the HEADS of the correct lanes as of 1AM last night.

What about the MonoTouch was too old?
Comment 3 dean.ellis 2013-10-11 13:05:44 UTC
PJ, you will need 7.0.2.73 or later for the fixes to mono touch .

For the VS side you will need anything after 1.6.84.0
Comment 4 PJ 2013-10-11 13:43:39 UTC
Alright - hot off the presses! I've passed these builds on.
Comment 5 Akhilesh kumar 2013-10-11 15:00:16 UTC
We have checked this issue with latest builds:

MTVS 1.6.84.0 
X.iOS 7.0.2.73
Windows 8
VS 2012/13
Mac OSX 10.9
Xcode 5.0.1

Now, application deploys and launches on simulator successfully.

Hence, Verifying this issue.