From de42aa3a648afe2aea41f05cc5fdd99e3d0de0cb Mon Sep 17 00:00:00 2001 From: Vinicius Jarina Date: Wed, 21 Aug 2019 17:34:11 -0400 Subject: [PATCH] Fallback to "modern" mtouch root if `MONOTOUCH_ROOT` is not set. (#52) After `12.14.0.114` there is no more `/Developer/MonoTouch` dir https://github.com/xamarin/xamarin-macios/commit/c66911641e518fd191246da7b72b7e3060d00550 --- Touch.Server/Main.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Touch.Server/Main.cs b/Touch.Server/Main.cs index 2fb76c2..52952b2 100644 --- a/Touch.Server/Main.cs +++ b/Touch.Server/Main.cs @@ -198,7 +198,7 @@ public static int Main (string[] args) string mt_root = Environment.GetEnvironmentVariable ("MONOTOUCH_ROOT"); if (String.IsNullOrEmpty (mt_root)) - mt_root = "/Developer/MonoTouch"; + mt_root = "/Library/Frameworks/Xamarin.iOS.framework/Versions/Current"; string mtouch = Path.Combine (mt_root, "bin", "mtouch"); if (!File.Exists (mtouch))