|
10 | 10 | <UseMaui>true</UseMaui>
|
11 | 11 | <SingleProject>true</SingleProject>
|
12 | 12 | <ImplicitUsings>enable</ImplicitUsings>
|
| 13 | + |
13 | 14 | <!-- Display name -->
|
14 | 15 | <ApplicationTitle>SimpleWeather</ApplicationTitle>
|
| 16 | + |
15 | 17 | <!-- App Identifier -->
|
16 | 18 | <ApplicationId Condition="'$(Configuration)' == 'Debug'">com.thewizrd.simpleweather.debug</ApplicationId>
|
17 | 19 | <ApplicationId Condition="'$(Configuration)' == 'Release'">com.thewizrd.simpleweather</ApplicationId>
|
18 | 20 | <ApplicationIdGuid>640a2777-29ff-41b7-9b12-7325a1965902</ApplicationIdGuid>
|
| 21 | + |
19 | 22 | <!-- Versions -->
|
20 | 23 | <ApplicationDisplayVersion>$(Version)</ApplicationDisplayVersion>
|
21 | 24 | <ApplicationVersion>$(VersionCode)</ApplicationVersion>
|
|
25 | 28 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
|
26 | 29 | <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
|
27 | 30 | <DefaultLanguage>en-US</DefaultLanguage>
|
| 31 | + |
28 | 32 | <!-- Distribution -->
|
29 | 33 | <EnableMsixTooling Condition="$(TargetFramework.Contains('windows'))">true</EnableMsixTooling>
|
30 | 34 | <PublishProfile Condition="$(TargetFramework.Contains('windows'))">Properties\PublishProfiles\win10-$(Platform).pubxml</PublishProfile>
|
31 | 35 | </PropertyGroup>
|
| 36 | + |
32 | 37 | <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0-ios|AnyCPU'">
|
33 | 38 | <CreatePackage>false</CreatePackage>
|
34 | 39 | <CodesignProvision>SimpleWeather - Debug</CodesignProvision>
|
|
37 | 42 | <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net7.0-ios|AnyCPU'">
|
38 | 43 | <WarningLevel>4</WarningLevel>
|
39 | 44 | <CreatePackage>false</CreatePackage>
|
40 |
| - <CodesignProvision>SimpleWeather - Release</CodesignProvision> |
41 |
| - <CodesignKey>iPhone Distribution</CodesignKey> |
| 45 | + <CodesignProvision>SimpleWeather - Release (iOS - Debug)</CodesignProvision> |
| 46 | + <CodesignKey>iPhone Developer</CodesignKey> |
42 | 47 | </PropertyGroup>
|
43 | 48 | <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0-maccatalyst|AnyCPU'">
|
44 | 49 | <UseHardenedRuntime>true</UseHardenedRuntime>
|
|
56 | 61 | <EnableCodeSigning>True</EnableCodeSigning>
|
57 | 62 | <EnablePackageSigning>true</EnablePackageSigning>
|
58 | 63 | <CreatePackage>true</CreatePackage>
|
59 |
| - <CodesignKey>Apple Distribution: DAVE ANTOINE (F5MCLX6AR8)</CodesignKey> |
60 |
| - <CodesignProvision>SimpleWeather - Release (MacCatalyst)</CodesignProvision> |
| 64 | + <CodesignKey>Mac Developer</CodesignKey> |
| 65 | + <CodesignProvision>SimpleWeather - Release (MacCatalyst - Dev)</CodesignProvision> |
61 | 66 | <CodesignEntitlements>Platforms\MacCatalyst\Entitlements.plist</CodesignEntitlements>
|
62 |
| - <PackageSigningKey>3rd Party Mac Developer Installer: DAVE ANTOINE (F5MCLX6AR8)</PackageSigningKey> |
| 67 | + <PackageSigningKey>3rd Party Mac Developer Installer</PackageSigningKey> |
63 | 68 | </PropertyGroup>
|
| 69 | + |
64 | 70 | <ItemGroup>
|
65 | 71 | <!-- App Icon -->
|
66 | 72 | <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#0070c0" />
|
|
73 | 79 | <!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
|
74 | 80 | <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
|
75 | 81 | </ItemGroup>
|
| 82 | + |
76 | 83 | <ItemGroup>
|
77 | 84 | <PackageReference Include="TimberLog" Version="1.0.0" />
|
78 | 85 | <PackageReference Include="CommunityToolkit.Maui" Version="5.0.0" />
|
|
242 | 249 | </Target>
|
243 | 250 | <PropertyGroup Condition=" $([MSBuild]::IsOSPlatform('OSX')) ">
|
244 | 251 | <CustomCommands>
|
245 |
| - <CustomCommands> |
246 |
| - <Command> |
247 |
| - <type>BeforeBuild</type> |
248 |
| - <command>${SolutionDir}/KeyCheck/bin/Release/net7.0/publish/KeyCheck ${SolutionDir}/SimpleWeather.Shared/Keys</command> |
249 |
| - <externalConsole>True</externalConsole> |
250 |
| - </Command> |
251 |
| - <Command> |
252 |
| - <type>BeforeBuild</type> |
253 |
| - <command>${SolutionDir}/KeyCheck/bin/Release/net7.0/publish/KeyCheck ${SolutionDir}/SimpleWeather.Weather-API/Keys</command> |
254 |
| - <externalConsole>True</externalConsole> |
255 |
| - </Command> |
256 |
| - <Command> |
257 |
| - <type>BeforeBuild</type> |
258 |
| - <command>${SolutionDir}/EditManifest/bin/Release/net7.0/publish/EditManifest ${ProjectDir}/Platforms/MacCatalyst/Info.plist "${ProjectConfig}"</command> |
259 |
| - <externalConsole>True</externalConsole> |
260 |
| - </Command> |
261 |
| - <Command> |
262 |
| - <type>BeforeBuild</type> |
263 |
| - <command>${SolutionDir}/EditManifest/bin/Release/net7.0/publish/EditManifest ${ProjectDir}/Platforms/iOS/Info.plist "${ProjectConfig}"</command> |
264 |
| - <externalConsole>True</externalConsole> |
265 |
| - </Command> |
266 |
| - </CustomCommands> |
| 252 | + <CustomCommands> |
| 253 | + <Command> |
| 254 | + <type>BeforeBuild</type> |
| 255 | + <command>${SolutionDir}/KeyCheck/bin/Release/net7.0/publish/KeyCheck ${SolutionDir}/SimpleWeather.Shared/Keys</command> |
| 256 | + </Command> |
| 257 | + <Command> |
| 258 | + <type>BeforeBuild</type> |
| 259 | + <command>${SolutionDir}/KeyCheck/bin/Release/net7.0/publish/KeyCheck ${SolutionDir}/SimpleWeather.Weather-API/Keys</command> |
| 260 | + </Command> |
| 261 | + <Command> |
| 262 | + <type>BeforeBuild</type> |
| 263 | + <command>${SolutionDir}/EditManifest/bin/Release/net7.0/publish/EditManifest ${ProjectDir}/Platforms/iOS/Info.plist "${ProjectConfig}"</command> |
| 264 | + </Command> |
| 265 | + <Command> |
| 266 | + <type>BeforeBuild</type> |
| 267 | + <command>${SolutionDir}/EditManifest/bin/Release/net7.0/publish/EditManifest ${ProjectDir}/Platforms/MacCatalyst/Info.plist "${ProjectConfig}"</command> |
| 268 | + </Command> |
| 269 | + </CustomCommands> |
267 | 270 | </CustomCommands>
|
268 | 271 | </PropertyGroup>
|
269 | 272 | <ProjectExtensions>
|
|
0 commit comments