Bug 24304 - iOS Build failed in Visual Studio. Done executing task "IBToolTask" -- FAILED.
Summary: iOS Build failed in Visual Studio. Done executing task "IBToolTask" -- FAILED.
Status: VERIFIED UPSTREAM
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 4.0.0 (C6)
Hardware: Macintosh Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-11-06 07:56 UTC by denis.zakharov
Modified: 2014-11-07 06:45 UTC (History)
4 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 UPSTREAM

Description denis.zakharov 2014-11-06 07:56:33 UTC
It is unavailable to build our iOS application in Visual Studio probably because of the error:
"IBToolTask" -- FAILED.

Build:

3>  Copying Resources/en.lproj/ModuleViewPortrait.xib...
3>  Executing task: Xamarin.MacDev.Tasks.IBToolTask
3>  Server returned an error. The underlying connection was closed: The connection was closed unexpectedly.
3>  
3>  Remote task execution failed.
3>Done executing task "IBToolTask" -- FAILED.
3>Done building target "_CoreCompileInterfaceDefinitions" in project "MyProject.iOS.csproj" -- FAILED.

Mac Server Log:

The build host has been reconnected successfully!
[06-Nov-2014 15:32:04] Apple SDK developer root: /Applications/Xcode.app/Contents/Developer
[06-Nov-2014 15:32:04] Server IP Address : 192.168.40.55
[06-Nov-2014 15:32:05] Handling with command: [Info: CommmandUrl=Info] (10)
[06-Nov-2014 15:32:05] Attempting to acquire command execution lock, timeout set to 00:10:00
[06-Nov-2014 15:32:05] Starting /Developer/MonoTouch/usr/bin/mtouch --version
=StatusSdk] (11)
[06-Nov-2014 15:32:06] Attempting to acquire command execution lock, timeout set to 00:10:00
[06-Nov-2014 15:32:06] Error: /Developer/MonoTouch/usr/share/doc/MonoTouch/MDocArchiveToMsxDocConverter.exe not found
[06-Nov-2014 15:32:06] Error: /Developer/MonoTouch/usr/share/doc/MonoTouch/apple-doc-wizard not found
[06-Nov-2014 15:32:06] Command [StatusSdk: CommmandUrl=StatusSdk] finished (11)
[06-Nov-2014 15:32:06] Request handled in 442.177ms
[06-Nov-2014 15:32:08] Handling with command: [ListDevices: CommmandUrl=ListDevices] (11)
[06-Nov-2014 15:32:08] Attempting to acquire command execution lock, timeout set to 00:10:00
[06-Nov-2014 15:32:08] Command [ListDevices: CommmandUrl=ListDevices] finished (11)
Comment 1 denis.zakharov 2014-11-06 08:00:05 UTC
Microsoft Visual Studio Ultimate 2013
Version 12.0.30723.00 Update 3
Microsoft .NET Framework
Version 4.5.51641

Xamarin   3.7.248.0 (8ca7d11db8a6f874c6cd2de6d9ca0f511867ce91)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   4.18.1.3 (5474129af31e9d3a86cb7482c7c5c7a30ad315f1)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   8.4.0.0 (209abebbd8f1a292d042420edb45fa5fbd3f017b)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 2 denis.zakharov 2014-11-06 08:45:03 UTC
It looks like the error probability depends on its compilation time interval (number and complexity).
Comment 3 denis.zakharov 2014-11-06 08:46:39 UTC
It looks like the error probability depends on storyboards compilation time interval their number and complexity.
Comment 4 Jose Gallardo 2014-11-06 09:09:25 UTC
Hi Denis,

This bug is already fixed and it's on its way for the next v3.8 release.
In the meantime, you can use the following preview build of the Mac BuildHost to avoid the issue.

http://xvs.xamarin.com/xamarin-ios-build-host-3.7.0.243.pkg


Thanks
Comment 7 Saurabh 2014-11-07 06:45:38 UTC
I have checked this Issue mentioned in https://bugzilla.xamarin.com/show_bug.cgi?id=24024#c4 and this is working fine at my end.

VS 2013/2012
XVS 3.8.113
X.iOS 8.4.0.28