|
8 | 8 | <TargetFrameworks Condition="'$(TargetFrameworkOverride)'==''"> |
9 | 9 | net9.0-android; |
10 | 10 | net9.0-ios; |
11 | | - net9.0-maccatalyst; |
12 | 11 | net9.0-windows10.0.19041; |
13 | 12 | net9.0-desktop; |
14 | 13 | net9.0-browserwasm; |
|
17 | 16 | <UnoSingleProject>true</UnoSingleProject> |
18 | 17 | <!-- Display name --> |
19 | 18 | <ApplicationTitle>Chefs</ApplicationTitle> |
20 | | - |
21 | | - <!-- Comment to use native rendering --> |
22 | | - <UseSkiaRendering Condition="'$(UseSkiaRendering)'==''">true</UseSkiaRendering> |
23 | 19 |
|
24 | 20 | <!-- App Identifier --> |
25 | | - <ApplicationId Condition="'$(UseSkiaRendering)' != 'true'">uno.platform.chefs</ApplicationId> |
26 | | - <ApplicationId Condition="'$(UseSkiaRendering)' == 'true'">uno.platform.chefs.skia</ApplicationId> |
| 21 | + <ApplicationId>uno.platform.chefs.skia</ApplicationId> |
27 | 22 |
|
28 | 23 | <ApplicationId Condition="'$(IsCanaryBranch)'=='true'">$(ApplicationId)-canary</ApplicationId> |
29 | 24 |
|
30 | 25 | <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion> |
31 | 26 | <ApplicationVersion>1</ApplicationVersion> |
32 | | - <UseMocks>true</UseMocks> |
| 27 | + <UseMocks Condition="'$(UseMocks)'==''">true</UseMocks> |
33 | 28 | <!-- |
34 | 29 | If you encounter this error message: |
35 | 30 |
|
|
45 | 40 | UnoFeatures let's you quickly add and manage implicit package references based on the features you want to use. |
46 | 41 | https://aka.platform.uno/singleproject-features |
47 | 42 | --> |
48 | | - <IsSkiaWasm Condition="'$(UseSkiaRendering)'=='true' AND $(IsBrowserWasm)">true</IsSkiaWasm> |
49 | | - <IsSkiaWasm Condition="'$(IsSkiaWasm)'==''">false</IsSkiaWasm> |
50 | | - <IsSkiaAndroid Condition="'$(UseSkiaRendering)'=='true' AND $(IsAndroid)">true</IsSkiaAndroid> |
51 | | - <IsSkiaAndroid Condition="'$(IsSkiaAndroid)'==''">false</IsSkiaAndroid> |
52 | | - <IsSkiaUIKit Condition="'$(UseSkiaRendering)'=='true' AND $(IsIOSOrCatalyst)">true</IsSkiaUIKit> |
53 | | - <IsSkiaUIKit Condition="'$(IsSkiaUIKit)'==''">false</IsSkiaUIKit> |
54 | 43 |
|
55 | 44 | <UnoFeatures> |
56 | 45 | Material; |
|
67 | 56 | Skia; |
68 | 57 | ThemeService; |
69 | 58 | Authentication; |
| 59 | + SkiaRenderer; |
70 | 60 | </UnoFeatures> |
71 | | - <UnoFeatures Condition="$(IsSkiaWasm)">$(UnoFeatures)SkiaRenderer;</UnoFeatures> |
72 | | - <UnoFeatures Condition="$(IsSkiaAndroid)">$(UnoFeatures)SkiaRenderer;</UnoFeatures> |
73 | | - <UnoFeatures Condition="$(IsSkiaUIKit)">$(UnoFeatures)SkiaRenderer;</UnoFeatures> |
74 | 61 |
|
75 | 62 | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
76 | | - <DefineConstants Condition="$(IsSkiaWasm)">$(DefineConstants);IS_WASM_SKIA</DefineConstants> |
77 | | - <DefineConstants Condition="$(IsSkiaAndroid)">$(DefineConstants);IS_ANDROID_SKIA</DefineConstants> |
78 | | - <DefineConstants Condition="$(IsSkiaUIKit)">$(DefineConstants);IS_UIKIT_SKIA</DefineConstants> |
79 | | - <DefineConstants Condition="'$(UseSkiaRendering)'=='true'">$(DefineConstants);HAS_SKIA_RENDERER</DefineConstants> |
80 | 63 | </PropertyGroup> |
81 | 64 |
|
82 | | - <Choose> |
83 | | - <When Condition="$(IsWinAppSdk)"> |
84 | | - <ItemGroup> |
85 | | - <PackageReference Include="Mapsui.WinUI" /> |
86 | | - <PackageReference Include="LiveChartsCore.SkiaSharpView.WinUI" /> |
87 | | - </ItemGroup> |
88 | | - </When> |
89 | | - <Otherwise> |
90 | | - <ItemGroup> |
91 | | - <PackageReference Include="Mapsui.Uno.WinUI" /> |
92 | | - <PackageReference Include="LiveChartsCore.SkiaSharpView.Uno.WinUI" /> |
93 | | - </ItemGroup> |
94 | | - </Otherwise> |
95 | | - </Choose> |
| 65 | + <ItemGroup> |
| 66 | + <PackageReference Include="Mapsui.Uno.WinUI" /> |
| 67 | + <PackageReference Include="LiveChartsCore.SkiaSharpView.Uno.WinUI" /> |
| 68 | + </ItemGroup> |
96 | 69 |
|
97 | 70 | <PropertyGroup Condition="'$(UseMocks)'=='true'"> |
98 | 71 | <DefineConstants>$(DefineConstants);USE_MOCKS</DefineConstants> |
|
171 | 144 | <PackageReference Include="Xamarin.TestCloud.Agent" /> |
172 | 145 | </ItemGroup> |
173 | 146 | </When> |
174 | | - <When Condition="$(IsMacCatalyst)"> |
175 | | - <PropertyGroup Condition="'$(Configuration)'=='Release'"> |
176 | | - <MtouchUseLlvm>true</MtouchUseLlvm> |
177 | | - <CodeSigningKey>Apple Distribution: Uno Platform Inc. (PD74CHS9Z5)</CodeSigningKey> |
178 | | - <PackageSigningKey>3rd Party Mac Developer Installer</PackageSigningKey> |
179 | | - <CreatePackage>true</CreatePackage> |
180 | | - <EnablePackageSigning>true</EnablePackageSigning> |
181 | | - <EnableCodeSigning>true</EnableCodeSigning> |
182 | | - |
183 | | - <_BaseCodesignProvision>Uno Chefs</_BaseCodesignProvision> |
184 | | - <_BaseCodesignProvision Condition="$(UseSkiaRendering)">Uno Chefs Skia</_BaseCodesignProvision> |
185 | | - <CodesignProvision>$(_BaseCodesignProvision) (Catalyst)</CodesignProvision> |
186 | | - <CodesignProvision Condition="$(BUILD_SOURCEBRANCH.StartsWith('refs/heads/canaries'))">$(_BaseCodesignProvision) Canary (Catalyst)</CodesignProvision> |
187 | | - </PropertyGroup> |
188 | | - </When> |
189 | 147 | <When Condition="$(IsBrowserWasm)"> |
190 | 148 | <PropertyGroup Condition="'$(Configuration)'=='Release' and '$(WasmShellMonoRuntimeExecutionMode)'=='InterpreterAndAOT'"> |
191 | | - <WasmAotFileName Condition="'$(UseSkiaRendering)' != 'true' ">aot.profile</WasmAotFileName> |
192 | | - <WasmAotFileName Condition="'$(UseSkiaRendering)' == 'true' ">aot-skia.profile</WasmAotFileName> |
| 149 | + <WasmAotFileName>aot-skia.profile</WasmAotFileName> |
193 | 150 | </PropertyGroup> |
194 | 151 |
|
195 | 152 | <PropertyGroup Condition=" '$(Configuration)' == 'Release' "> |
|
0 commit comments