[Apple] Update mlaunch version#1422
Conversation
@rolfbjarne Does the new mlaunch require an explicit command to create a simulator? |
@rolfbjarne Did I pick the wrong version? |
mlaunch should be able to create simulators, but maybe something isn't working right. However, that output doesn't say the exact mlaunch command, nor mlaunch's output, so I have no idea what went wrong. |
This is interesting, I have no idea what's causing this. I'll have a look. |
MAybe this will fix it: https://devdiv.visualstudio.com/DevDiv/_git/macios-mlaunch/pullrequest/644208 |
Here is the error log: Looks like a recent mlaunch PR "Use simctl much more to avoid Xcode's internal APIs". |
This looks like the system has an older version of simctl installed, --json-output works fine for me. simctl is updated whenever a new version of Xcode is launched for the first time (this can be triggered from the command line by executing "xcodebuild -runFirstLaunch" as well). Can you get the output of |
|
I have this on my Xcode 16.4 system:
and this on my Xcode 26 b1 system:
so it looks like this is an older version of simctl/CoreSimulator. I guess one way around this would be to have mlaunch check the simctl version. In the meantime, you can pass |
|
Thanks. Now it reports: |
That's strange, I can't reproduce this. That said, I fixed our usage of simctl so you shouldn't have to pass |
|
Thanks, I will wait for the new version and try again. |
|
Hi, I was encountering the same issue. Has this already been fixed upstream, or is this PR still pending to address it? |
|
@ymebrugts The mlaunch issue has been fixed, and this PR is verifying the new changes. Are you using mlaunch or xharness? Also, are you using iOS 18 devices? |
|
@rolfbjarne After you added the assembly attributes for company and copyright, the build started signing Xamarin.Hosting.dll with the third-party certificate. Before that change, it was using the failing Xamarin.Hosting.resources.dll, which was auto-generated and missing the copyright. Other failures have been resolved — thank you. |
Looks like that will have to be fixed here: Line 7 in feac802 |
Xharness to launch and test plus using iOS 18 devices. "iPhone Xs (iOS 18.5) - created by XHarness" |
|
@ymebrugts You can try the new version and if you still encounter errors please create a tracking issue with the error logs, so we can follow up. |
It's working again. Thanks! |
* Update mlaunch version * Test simctl version * Add --use-sim-ctl argument * Add --use-sim-ctl argument * Fix test * Bump mlaunch version * Update Microsoft.Tools.Mlaunch version to 1.1.71 * Fix comment * Remove Xamarin.Hosting.dll from signing configuration
* Update mlaunch version * Test simctl version * Add --use-sim-ctl argument * Add --use-sim-ctl argument * Fix test * Bump mlaunch version * Update Microsoft.Tools.Mlaunch version to 1.1.71 * Fix comment * Remove Xamarin.Hosting.dll from signing configuration
Description
This PR updates mlaunch version to fix TCP mlaunch failures.