Skip to content

Commit

Permalink
Call mlaunch instead of mtouch (#88)
Browse files Browse the repository at this point in the history
* MTouch requires `--target-framework` after `13.20`, but when it calls `mlaunch` forwarding all the arguments, `mlaunch` doesn't handle the `--target-framework` parameter.
  • Loading branch information
viniciusjarina committed Aug 14, 2020
1 parent b157cf4 commit 49441f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Touch.Server/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ public static int Main (string[] args)
if (String.IsNullOrEmpty (mt_root))
mt_root = "/Library/Frameworks/Xamarin.iOS.framework/Versions/Current";

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

Process proc = null;
if (launchdev != null) {
Expand Down

0 comments on commit 49441f3

Please sign in to comment.