| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <OutputType>Exe</OutputType>
- <TargetFrameworks>net8.0-ios</TargetFrameworks>
- <SupportedOSPlatformVersion>13.0</SupportedOSPlatformVersion>
- <Nullable>enable</Nullable>
- <Platforms>AnyCPU</Platforms>
- <NullabilityInfoContextSupport>true</NullabilityInfoContextSupport>
- <UseMauiEssentials>true</UseMauiEssentials>
- </PropertyGroup>
-
- <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
- <CodesignKey>iPhone Developer</CodesignKey>
- <CodesignProvision>Development (com.prs.avalonia)</CodesignProvision>
- </PropertyGroup>
-
- <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
- <CodesignKey>iPhone Distribution</CodesignKey>
- <CodesignProvision>Ad hoc (com.prs.avalonia)</CodesignProvision>
- </PropertyGroup>
-
- <ItemGroup>
- <ProjectReference Include="..\..\..\inabox\InABox.Avalonia.Platform.iOS\InABox.Avalonia.Platform.iOS.csproj" />
- <ProjectReference Include="..\..\..\inabox\InABox.Avalonia.Platform\InABox.Avalonia.Platform.csproj" />
- <ProjectReference Include="..\PRS.Avalonia\PRS.Avalonia.csproj"/>
- </ItemGroup>
- <ItemGroup>
- <PackageReference Include="Avalonia.Fonts.Inter" Version="11.3.2" />
- <PackageReference Include="Avalonia.iOS" Version="11.3.2" />
- <PackageReference Include="Microsoft.Maui.Essentials" Version="8.0.100" />
- </ItemGroup>
- <ItemGroup>
- <Folder Include="Assets.xcassets\" />
- </ItemGroup>
- <PropertyGroup>
- <PublishAot>false</PublishAot>
- <!-- Recommended Avalonia trimming settings for Native AOT -->
- <BuiltInComInteropSupport>false</BuiltInComInteropSupport>
- <TrimMode>link</TrimMode>
- </PropertyGroup>
- <ItemGroup>
- <TrimmerRootDescriptor Include="TrimmerRoots.xml" />
- </ItemGroup>
- <ItemGroup>
- <!-- Preserve Avalonia types for reflection -->
- <TrimmerRootAssembly Include="Avalonia.Themes.Fluent" />
- <TrimmerRootAssembly Include="Autofac" />
- <TrimmerRootAssembly Include="Avalonia.Controls" />
- <TrimmerRootAssembly Include="InABox.Avalonia" />
- <TrimmerRootAssembly Include="InABox.Avalonia.Platform" />
- <TrimmerRootAssembly Include="InABox.Avalonia.Platform.iOS" />
- <TrimmerRootAssembly Include="InABox.Client.RPC" />
- <TrimmerRootAssembly Include="PRS.Avalonia" />
- <TrimmerRootAssembly Include="PRSClasses" />
- <TrimmerRootAssembly Include="InABox.Core" />
- <TrimmerRootAssembly Include="InABox.Formatters.Core" />
- <TrimmerRootAssembly Include="InABox.Integration" />
- <TrimmerRootAssembly Include="InABox.Logging.Shared" />
- <TrimmerRootAssembly Include="InABox.RPC.Shared" />
- </ItemGroup>
- <!-- Forces the use of the iOS interpreter during builds -->
- <PropertyGroup Condition="$(TargetFramework.Contains('-ios'))">
- <UseInterpreter>true</UseInterpreter>
- </PropertyGroup>
- <!-- Disables the new "managed-static" registrar. Could cause the app's size to be slightly larger.
- May enable in the future See : https://github.com/xamarin/xamarin-macios/wiki/.NET-9-release-notes#type-registrar-managed-static-as-the-new-default -->
- <Target Name="SelectStaticRegistrar" AfterTargets="SelectRegistrar">
- <PropertyGroup Condition="'$(Registrar)' == 'managed-static'">
- <Registrar>static</Registrar>
- </PropertyGroup>
- </Target>
-
- </Project>
|