|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk">
|
2 | 2 |
|
3 | 3 | <PropertyGroup>
|
4 |
| - <TargetFrameworks>net6.0-android;net6.0-ios;</TargetFrameworks> |
| 4 | + <TargetFrameworks>net6.0-android;net6.0-ios;net7.0-android;net7.0-ios;</TargetFrameworks> |
5 | 5 | <UseMaui>true</UseMaui>
|
6 | 6 | <SingleProject>true</SingleProject>
|
7 | 7 | <ImplicitUsings>enable</ImplicitUsings>
|
8 | 8 |
|
9 |
| - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion> |
10 |
| - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion> |
| 9 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.4</SupportedOSPlatformVersion> |
11 | 10 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
|
12 |
| - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
13 |
| - <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
14 |
| - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
15 | 11 | <RootNamespace>MapboxMaui</RootNamespace>
|
| 12 | + <SkipValidateMauiImplicitPackageReferences>true</SkipValidateMauiImplicitPackageReferences> |
16 | 13 | </PropertyGroup>
|
| 14 | + |
| 15 | + <PropertyGroup Condition="$(TargetFramework.Contains('-ios'))"> |
| 16 | + <RuntimeIdentifier>ios-arm64</RuntimeIdentifier> |
| 17 | + </PropertyGroup> |
| 18 | + |
17 | 19 | <!-- Android -->
|
18 | 20 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
19 | 21 | <WarningLevel>4</WarningLevel>
|
|
22 | 24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
23 | 25 | <LangVersion>latestmajor</LangVersion>
|
24 | 26 | </PropertyGroup>
|
25 |
| - <ItemGroup Condition="$(TargetFramework.StartsWith('net6.0-android')) != true"> |
| 27 | + <ItemGroup Condition="$(TargetFramework.Contains('-android')) != true"> |
26 | 28 | <Compile Remove="**\**\*.Android.cs" />
|
27 | 29 | </ItemGroup>
|
28 | 30 |
|
29 | 31 | <!-- Both iOS and Mac Catalyst -->
|
30 |
| - <ItemGroup Condition="$(TargetFramework.StartsWith('net6.0-ios')) != true AND $(TargetFramework.StartsWith('net6.0-maccatalyst')) != true"> |
| 32 | + <ItemGroup Condition="$(TargetFramework.Contains('-ios')) != true AND $(TargetFramework.Contains('-maccatalyst')) != true"> |
31 | 33 | <Compile Remove="**\**\*.MaciOS.cs" />
|
32 | 34 | <None Include="**\**\*.MaciOS.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
33 | 35 | </ItemGroup>
|
34 | 36 |
|
35 | 37 | <!-- iOS -->
|
36 |
| - <ItemGroup Condition="$(TargetFramework.StartsWith('net6.0-ios')) != true"> |
| 38 | + <ItemGroup Condition="$(TargetFramework.Contains('-ios')) != true"> |
37 | 39 | <Compile Remove="**\**\*.iOS.cs" />
|
38 | 40 | </ItemGroup>
|
39 |
| - <ItemGroup Condition="$(TargetFramework.StartsWith('net6.0-ios')) == true"> |
| 41 | + <ItemGroup Condition="$(TargetFramework.Contains('-ios')) == true"> |
40 | 42 | <Compile Include="**\**\*.iOS.cs" />
|
41 | 43 | </ItemGroup>
|
42 | 44 |
|
|
68 | 70 |
|
69 | 71 | <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">
|
70 | 72 | <PackageReference Include="Com.Mapbox.Maps.Android" Version="10.11.1" />
|
71 |
| - <PackageReference Include="Xamarin.Kotlin.StdLib.Jdk8" Version="1.8.21.1" /> |
| 73 | + <PackageReference Include="Xamarin.Kotlin.StdLib.Jdk8" Version="1.9.0.1" /> |
72 | 74 | <PackageReference Include="Square.OkHttp3" Version="4.10.0.1" />
|
73 |
| - <PackageReference Include="Xamarin.Kotlin.StdLib" Version="1.8.21.1" /> |
74 |
| - <PackageReference Include="Xamarin.AndroidX.Annotation" Version="1.6.0.2" /> |
| 75 | + <PackageReference Include="Xamarin.Kotlin.StdLib" Version="1.9.0.1" /> |
| 76 | + <PackageReference Include="Xamarin.AndroidX.Annotation" Version="1.6.0.4" /> |
75 | 77 | </ItemGroup>
|
76 | 78 |
|
77 | 79 | <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
|
|
0 commit comments