Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Commit de42aa3

Browse files
viniciusjarinaspouliot
authored andcommitted
Fallback to "modern" mtouch root if MONOTOUCH_ROOT is not set. (#52)
After `12.14.0.114` there is no more `/Developer/MonoTouch` dir dotnet/macios@c669116
1 parent a2e1810 commit de42aa3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Touch.Server/Main.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public static int Main (string[] args)
198198

199199
string mt_root = Environment.GetEnvironmentVariable ("MONOTOUCH_ROOT");
200200
if (String.IsNullOrEmpty (mt_root))
201-
mt_root = "/Developer/MonoTouch";
201+
mt_root = "/Library/Frameworks/Xamarin.iOS.framework/Versions/Current";
202202

203203
string mtouch = Path.Combine (mt_root, "bin", "mtouch");
204204
if (!File.Exists (mtouch))

0 commit comments

Comments
 (0)