diff --git a/tools/common/Driver.cs b/tools/common/Driver.cs index 546748ff34..e80c634b1a 100644 --- a/tools/common/Driver.cs +++ b/tools/common/Driver.cs @@ -1034,6 +1034,10 @@ namespace Xamarin.Bundler { if (ret == 0) { path = stdout.ToString ().Trim (); + if (!File.Exists (path)) { + ErrorHelper.Warning (5315, Errors.MX5315 /* The tool xcrun failed to return a valid result (the file {0} does not exist). Check build log for details. */, tool, path); + return false; + } } else { Log (1, "Failed to locate the developer tool '{0}', 'xcrun {1}' returned with the exit code {2}:\n{3}", tool, string.Join (" ", args), ret, both.ToString ()); } diff --git a/tools/mtouch/errors.Designer.cs b/tools/mtouch/errors.Designer.cs index 9ec2b82222..9ca556aece 100644 --- a/tools/mtouch/errors.Designer.cs +++ b/tools/mtouch/errors.Designer.cs @@ -2327,6 +2327,12 @@ namespace Xamarin.Bundler { } } + internal static string MX5315 { + get { + return ResourceManager.GetString("MX5315", resourceCulture); + } + } + internal static string MT8018 { get { return ResourceManager.GetString("MT8018", resourceCulture); diff --git a/tools/mtouch/errors.resx b/tools/mtouch/errors.resx index f073174030..06d0e49e0c 100644 --- a/tools/mtouch/errors.resx +++ b/tools/mtouch/errors.resx @@ -2680,6 +2680,11 @@ + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + + Internal consistency error. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new. diff --git a/tools/mtouch/xlf/Errors.cs.xlf b/tools/mtouch/xlf/Errors.cs.xlf index 23feff7d80..49a76eca54 100644 --- a/tools/mtouch/xlf/Errors.cs.xlf +++ b/tools/mtouch/xlf/Errors.cs.xlf @@ -3042,6 +3042,13 @@ + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new diff --git a/tools/mtouch/xlf/Errors.de.xlf b/tools/mtouch/xlf/Errors.de.xlf index f9032c7f51..fa7d7805f5 100644 --- a/tools/mtouch/xlf/Errors.de.xlf +++ b/tools/mtouch/xlf/Errors.de.xlf @@ -3042,6 +3042,13 @@ + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new diff --git a/tools/mtouch/xlf/Errors.es.xlf b/tools/mtouch/xlf/Errors.es.xlf index b640a6e2ce..409b5fff52 100644 --- a/tools/mtouch/xlf/Errors.es.xlf +++ b/tools/mtouch/xlf/Errors.es.xlf @@ -3042,6 +3042,13 @@ + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new diff --git a/tools/mtouch/xlf/Errors.fr.xlf b/tools/mtouch/xlf/Errors.fr.xlf index 83a7f739b3..4c57a28455 100644 --- a/tools/mtouch/xlf/Errors.fr.xlf +++ b/tools/mtouch/xlf/Errors.fr.xlf @@ -3042,6 +3042,13 @@ + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new diff --git a/tools/mtouch/xlf/Errors.it.xlf b/tools/mtouch/xlf/Errors.it.xlf index 345bdd37a9..08a98fd354 100644 --- a/tools/mtouch/xlf/Errors.it.xlf +++ b/tools/mtouch/xlf/Errors.it.xlf @@ -3042,6 +3042,13 @@ + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new diff --git a/tools/mtouch/xlf/Errors.ja.xlf b/tools/mtouch/xlf/Errors.ja.xlf index f7438832fc..a4ad75d007 100644 --- a/tools/mtouch/xlf/Errors.ja.xlf +++ b/tools/mtouch/xlf/Errors.ja.xlf @@ -3042,6 +3042,13 @@ + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new diff --git a/tools/mtouch/xlf/Errors.ko.xlf b/tools/mtouch/xlf/Errors.ko.xlf index 78e89c3954..de8e0494db 100644 --- a/tools/mtouch/xlf/Errors.ko.xlf +++ b/tools/mtouch/xlf/Errors.ko.xlf @@ -3042,6 +3042,13 @@ + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new diff --git a/tools/mtouch/xlf/Errors.pl.xlf b/tools/mtouch/xlf/Errors.pl.xlf index efc00df077..ae75b7db9f 100644 --- a/tools/mtouch/xlf/Errors.pl.xlf +++ b/tools/mtouch/xlf/Errors.pl.xlf @@ -3042,6 +3042,13 @@ + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new diff --git a/tools/mtouch/xlf/Errors.pt-BR.xlf b/tools/mtouch/xlf/Errors.pt-BR.xlf index 646adc36ad..a950d71763 100644 --- a/tools/mtouch/xlf/Errors.pt-BR.xlf +++ b/tools/mtouch/xlf/Errors.pt-BR.xlf @@ -3042,6 +3042,13 @@ + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new diff --git a/tools/mtouch/xlf/Errors.ru.xlf b/tools/mtouch/xlf/Errors.ru.xlf index 5c19cf541b..39234cb9da 100644 --- a/tools/mtouch/xlf/Errors.ru.xlf +++ b/tools/mtouch/xlf/Errors.ru.xlf @@ -3042,6 +3042,13 @@ + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new diff --git a/tools/mtouch/xlf/Errors.tr.xlf b/tools/mtouch/xlf/Errors.tr.xlf index 1955846e90..722395a0fc 100644 --- a/tools/mtouch/xlf/Errors.tr.xlf +++ b/tools/mtouch/xlf/Errors.tr.xlf @@ -3042,6 +3042,13 @@ + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new diff --git a/tools/mtouch/xlf/Errors.zh-Hans.xlf b/tools/mtouch/xlf/Errors.zh-Hans.xlf index edf1b36aab..1fe27bfbed 100644 --- a/tools/mtouch/xlf/Errors.zh-Hans.xlf +++ b/tools/mtouch/xlf/Errors.zh-Hans.xlf @@ -3042,6 +3042,13 @@ + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new diff --git a/tools/mtouch/xlf/Errors.zh-Hant.xlf b/tools/mtouch/xlf/Errors.zh-Hant.xlf index 831cfcde82..7a7536366d 100644 --- a/tools/mtouch/xlf/Errors.zh-Hant.xlf +++ b/tools/mtouch/xlf/Errors.zh-Hant.xlf @@ -3042,6 +3042,13 @@ + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details. + + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new