Skip to content

Commit ac18581

Browse files
committed
Use file copy on device and simulators only
1 parent 872c6d4 commit ac18581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.DotNet.XHarness.TestRunners.Common/iOSApplicationEntryPointBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public override async Task RunAsync()
2626

2727
// On iOS 18 and later, transferring results over a TCP tunnel isn’t supported.
2828
// Instead, save results to a file.
29-
if (Environment.OSVersion.Version.Major >= 18)
29+
if (!OperatingSystem.IsMacCatalyst() && Environment.OSVersion.Version.Major >= 18)
3030
{
3131
using TextWriter? resultsFileMaybe = options.EnableXml ? System.IO.File.CreateText(TestsResultsFinalPath) : null;
3232
await InternalRunAsync(options, Logger, resultsFileMaybe);

0 commit comments

Comments
 (0)