Bug 28903 - [XVS] Not able to build iOS projects with or without extensions for devices
Summary: [XVS] Not able to build iOS projects with or without extensions for devices
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 3.11 (C5)
Hardware: PC Mac OS
: Highest blocker
Target Milestone: 3.11
Assignee: Bugzilla
URL:
: 28925 ()
Depends on:
Blocks:
 
Reported: 2015-04-08 17:18 UTC by Aaron Sky
Modified: 2015-04-10 06:33 UTC (History)
9 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 Aaron Sky 2015-04-08 17:18:05 UTC
Reproduction steps:
1. Open WatchKitCatalog sample
2. Set build configuration to Debug|iPhone
3. Build the solution

Expected result: Application builds and launches successfully.

Actual result:
1. C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(494,3): error : Unexpected error - Please file a bug report at http://bugzilla.xamarin.com
2. VS continues to attempt to launch the app. There is no way to cancel this operation.

Environment Details
----------------------
Microsoft Visual Studio Ultimate 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.5.51641
Xamarin   3.11.385.0
Xamarin.iOS   8.10.0.224
Comment 1 GouriKumari 2015-04-08 17:51:22 UTC
After discussing with Jose, it seems device builds fail consistently with the libc DllNotFound error, with all configurations.
I couldn't build a watchkit app or a singleview with AppStore|config as well. I am updating this bug with the build logs from building a watchkit app and a universal single view app. 

Build Log WatchKitApp: https://gist.github.com/GouriKumari/baefbbf45c2a4f2a1450
Build Log SingleViewApp: https://gist.github.com/GouriKumari/0a95856fbec84f865d48

Test Env:
Environment Details
----------------------
VS2012/Windows7
Xamarin   3.11.385.0
Xamarin.iOS   8.10.0.224
Comment 2 GouriKumari 2015-04-08 19:00:21 UTC
I verified with a new mac build host 5.0.0.3390,
https://wrench.internalx.com/Wrench/ViewLane.aspx?lane_id=953&host_id=116&revision_id=435901
and the build error seems to be resolved.

Test Results:
I could build a single view app successfully for device config and also could
deploy on device.

Build Log: https://gist.github.com/GouriKumari/9eaf262cfaf7c68a9c7e

With WatchKitApp : I could build the app successfully for Debug|iPhone config.

Build fails for WatchKitApp in CreateIPA step for AppStore|Config. 

Build Log for Debug|iPhone:
https://gist.github.com/GouriKumari/74ebb5b00ad7adf9b2be
Build Log for AppStore|Config:
https://gist.github.com/GouriKumari/f7613378eb3571bcd899

Supplemental Info:
This issue is fixed since the build error with libc DLL not found error is
resolved. However, WatchKit Projects do not build successfully for AppStore
config. I will open a bug for this for tracking purpose.

Test Env:
VS 3.11.385
Xamarin.iOS
Version: 8.10.0.224 (Business Edition)
Hash: 4d68c9a +  mac build host 5.0.0.3390
Comment 3 Saurabh 2015-04-09 01:42:27 UTC
I have checked this Issue with latest C5 builds and I am still getting build error when build the main project either of Template or WatchKitCatalog on iPhone|Debug. This is the build output for the same: https://gist.github.com/saurabh360/7ee540e633031b70eee5

Microsoft Visual Studio Professional 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Professional

LightSwitch for Visual Studio 2013   06177-004-0446016-02238
Microsoft LightSwitch for Visual Studio 2013

Team Explorer for Visual Studio 2013   06177-004-0446016-02238
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013   06177-004-0446016-02238
Microsoft Visual Basic 2013

Visual C# 2013   06177-004-0446016-02238
Microsoft Visual C# 2013

Visual C++ 2013   06177-004-0446016-02238
Microsoft Visual C++ 2013

Visual F# 2013   06177-004-0446016-02238
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker   06177-004-0446016-02238
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Windows Phone SDK 8.0 - ENU   06177-004-0446016-02238
Windows Phone SDK 8.0 - ENU

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

ASP.NET and Web Tools   12.4.51016.0
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Microsoft Azure Websites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Microsoft Azure

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

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

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

Microsoft Azure Mobile Services Tools   1.3
Microsoft Azure Mobile Services Tools

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

Office Developer Tools for Visual Studio 2013 ENU   12.0.30626
Microsoft Office Developer Tools for Visual Studio 2013 ENU

PowerShell Tools   1.3
Provides file classification services using PowerShell

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

SQL Server Data Tools   12.0.41012.0
Microsoft SQL Server Data Tools

Windows Phone 8.1 SDK Integration   1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin   3.11.390.0 (371077f)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   5.1.0.111 (0fd868ab811ba806da88fce43a06ce272460765c)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.Forms Intellisense   1.0
Provides intellisense for Xamarin.Forms in the XML editor.

Xamarin.iOS   8.10.0.0 (3abf86b113ef9dd7c6aaf53c4c47bdb39ae526b9)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified

Xamarin.TestCloud.Integration   1.0
Early preview of Xamarin Test Cloud integration

X.iOS on Build host 8.10.0.224
Comment 4 Jose Gallardo 2015-04-09 08:29:21 UTC
The BuildHost including the fix is 3.11.0.390.
That said, the Xamarin.iOS cycle 5 build which is going to bundle that BuildHost hasn't build yet.
(https://wrench.internalx.com/Wrench/ViewLane.aspx?lane_id=1503&host_id=163&revision_id=435928)
The bundling update was done on commit https://github.com/xamarin/maccore/commit/f2da1d2b4bfbe29ec515157f0acbf43653a8811c

That being said, you can verify the fix manually installing that BuildHost (3.11.0.390) on top of X.iOS 8.10.0.224, as that's the only difference between 8.10.0.224 and the queued build (https://wrench.internalx.com/Wrench/ViewLane.aspx?lane_id=1503&host_id=163&revision_id=435928).

I can confirm 3.11.0.390 is already on dropbox (https://www.dropbox.com/sh/n3cnpj3m1iup2qd/AAAcHoNaXpouTmPN6Dn_SxH8a/Cycle%205/XVS3.11/xamarin-ios-build-host-3.11.0.390_8e920f102e6cf807efa2101408cd403d33df8407.pkg?dl=0).

Thanks!
Comment 5 Jose Gallardo 2015-04-09 09:14:06 UTC
*** Bug 28925 has been marked as a duplicate of this bug. ***
Comment 6 Jose Gallardo 2015-04-09 11:45:01 UTC
We're waiting for a new X.iOS C5 build (the revision including the bump failed on the Upload to storage step). Rolf fixed the script and we should be getting a new build with the fix soon.
Comment 7 Mohit Kheterpal 2015-04-10 06:32:38 UTC
I have checked this issue using cycle 5 builds i.e. XVS 3.11.409 + X.iOS  8.10.0.227 and observed that this issue is working fine now i.e.  we are able to build  watchkitcatalog sample. 

Hence closing this issue.
Comment 8 Mohit Kheterpal 2015-04-10 06:33:45 UTC
An update to the comment 7, I have checked it with Device and simulator.