-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed no permission crash + fix ios init
- Loading branch information
1 parent
ed495a8
commit a8db42b
Showing
7 changed files
with
55 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,21 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net7.0;net7.0-android;net7.0-ios</TargetFrameworks> | ||
<TargetFrameworks>net7.0-android;net7.0-ios</TargetFrameworks> | ||
<UseMaui>true</UseMaui> | ||
<SingleProject>true</SingleProject> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> | ||
|
||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="$(TargetFramework.StartsWith('net7.0-ios')) != true "> | ||
<Compile Remove="Platforms\iOS\*.cs" /> | ||
<None Include="Platforms\iOS\*.cs" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="$(TargetFramework.StartsWith('net7.0-android')) != true "> | ||
<Compile Remove="Platforms\Android\*.cs" /> | ||
<None Include="Platforms\Android\*.cs" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="$(TargetFramework.StartsWith('net7.0-ios')) == true OR $(TargetFramework.StartsWith('net7.0-android')) == true"> | ||
<Compile Remove="**\*.Standard.cs" /> | ||
<None Include="**\*.Standard.cs" /> | ||
<Compile Remove="**\Standard\**\*.cs" /> | ||
<None Include="**\Standard\**\*.cs" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Compile Remove="bin\**;obj\**" /> | ||
<None Remove="bin\**;obj\**" /> | ||
</ItemGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'"> | ||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="$(TargetFramework.StartsWith('net7.0-android'))"> | ||
<DefineConstants>$(DefineConstants);MONOANDROID</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(TargetFramework)' == 'net7.0-ios' "> | ||
<DefineConstants>$(DefineConstants);IOS</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0-android'"> | ||
<PackageReference Include="Xamarin.GooglePlayServices.Maps" Version="118.1.0" /> | ||
<PackageReference Include="Xamarin.GooglePlayServices.Maps" Version="118.1.0.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0-ios'"> | ||
<PackageReference Include="Xamarin.Google.iOS.Maps" Version="6.0.1.1" /> | ||
<PackageReference Include="Xamarin.Build.Download" Version="0.11.4" /> | ||
</ItemGroup> | ||
|
||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This means that even XAML files need to be in multi-targetted projects, which creates a chain knock-on effect that any XAML that indirectly references the map component also needs to be, which means that you can't put XAML into a common project between two platforms. Is this necessary?