Set host apple platform type to MACOS
RELNOTES: None.
@@ -439,6 +439,10 @@ public class AppleCommandLineOptions extends FragmentOptions {
host.tvOsSdkVersion = tvOsSdkVersion;
host.macOsSdkVersion = macOsSdkVersion;
host.appleBitcodeMode = appleBitcodeMode;
+ // The host apple platform type will always be MACOS, as no other apple platform type can
+ // currently execute build actions. If that were the case, a host_apple_platform_type flag might
+ // be needed.
+ host.applePlatformType = PlatformType.MACOS;
return host;
}
