[msbuild] Don't compute the platform for Mac Catalyst. (#10754)
This way we don't end up forcing Mac Catalyst apps to be signed (because if the computed platform is 'iPhone', we enforce signing).
This commit is contained in:
Родитель
834b088885
Коммит
100e2ec832
|
@ -59,7 +59,7 @@ Copyright (C) 2020 Microsoft. All rights reserved.
|
|||
another property name, we "opt out" of this "smart" behavior
|
||||
-->
|
||||
<ComputedPlatform Condition="'$(ComputedPlatform)' == ''">$(Platform)</ComputedPlatform>
|
||||
<ComputedPlatform Condition="'$(_PlatformName)' != 'macOS' And '$(ComputedPlatform)' == 'AnyCPU'">iPhone</ComputedPlatform>
|
||||
<ComputedPlatform Condition="'$(_PlatformName)' != 'macOS' And '$(_PlatformName)' != 'Mac Catalyst' And '$(ComputedPlatform)' == 'AnyCPU'">iPhone</ComputedPlatform>
|
||||
</PropertyGroup>
|
||||
|
||||
<Choose>
|
||||
|
|
Загрузка…
Ссылка в новой задаче