Bug 13864 - [build] mdtool does not fail builds when Xamarin.iOS is not installed
Summary: [build] mdtool does not fail builds when Xamarin.iOS is not installed
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Model ()
Version: unspecified
Hardware: PC Mac OS
: High normal
Target Milestone: master
Assignee: Bugzilla
Depends on:
Reported: 2013-08-08 13:57 UTC by Alan McGovern
Modified: 2013-12-10 17:06 UTC (History)
2 users (show)

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 or GitHub 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:

Description Alan McGovern 2013-08-08 13:57:32 UTC
If I use mdtool to build a monotouch project with no monotouch installed this happens:

ERROR [2013-08-08 13:12:07Z]: Xamarin.iOS is not installed: The Xamarin.iOS SDK could not be detected. Either it has never been installed or an update of Xcode has removed the SDK. Please re-install Xamarin.iOS, you can download it from the Xamarin website.

Yet the build is marked as success.
Comment 2 Jeffrey Stedfast 2013-12-10 17:06:29 UTC
I seem to recall fixing this when cleaning up the IPhoneBuildExtension code

the problem was just not calling result.AddError()