Skip to content

Commit

Permalink
Fallback to "modern" mtouch root if MONOTOUCH_ROOT is not set. (#52)
Browse files Browse the repository at this point in the history
After `12.14.0.114` there is no more `/Developer/MonoTouch` dir xamarin/xamarin-macios@c669116
  • Loading branch information
viniciusjarina authored and spouliot committed Aug 21, 2019
1 parent a2e1810 commit de42aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Touch.Server/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit de42aa3

Please sign in to comment.