You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[msbuild] Don't execute the ParseDeviceSpecificBuildInformation task on Mac Catalyst. (#22887)
The 'ParseDeviceSpecificBuildInformation' task is only applicable to mobile
targets (iOS and tvOS), so skip running it on Mac Catalyst (like we're already
doing for macOS).
This fixes a build error if happens to run on Mac Catalyst:
> The "ParseDeviceSpecificBuildInformation" task failed unexpectedly. System.InvalidOperationException: Invalid platform: MacCatalyst
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2484312.
Copy file name to clipboardExpand all lines: msbuild/Xamarin.Shared/Xamarin.Shared.targets
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1232,7 +1232,7 @@ Copyright (C) 2018 Microsoft. All rights reserved.
1232
1232
will apply to Xamarin.Mac as well.
1233
1233
-->
1234
1234
<ParseDeviceSpecificBuildInformation
1235
-
Condition="'$(DeviceSpecificBuild)' == 'true' And '$(TargetiOSDevice)' != '' And '$(_CanDeployToDeviceOrSimulator)' == 'true' And '$(_PlatformName)' != 'macOS'"
1235
+
Condition="'$(DeviceSpecificBuild)' == 'true' And '$(TargetiOSDevice)' != '' And '$(_CanDeployToDeviceOrSimulator)' == 'true' And '$(_PlatformName)' != 'macOS' And '$(_PlatformName)' != 'MacCatalyst'"
0 commit comments