Skip to content

Commit b7cc4af

Browse files
committed
Fix universalbinary check to only work on osx
1 parent 21ecb3f commit b7cc4af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tasks/TestMacOSTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public override void Run(BuildContext context)
8181
context.Information($"ARCHITECTURE: arm64");
8282
}
8383

84-
if (context.IsUniversalBinary && !(arm64 && x86_64))
84+
if (context.IsUniversalBinary && filePath.Contains ("osx") && !(arm64 && x86_64))
8585
{
8686
context.Information($"INVALID universal binary");
8787
throw new Exception("An universal binary hasn't been generated!");

0 commit comments

Comments
 (0)