2022-05-04 05:57:53 +00:00
|
|
|
<Project>
|
2018-12-29 08:17:35 +00:00
|
|
|
<PropertyGroup>
|
2019-10-30 14:28:10 +00:00
|
|
|
<CodesignKey>iPhone Developer</CodesignKey>
|
2022-12-11 22:25:56 +00:00
|
|
|
<NullabilityInfoContextSupport>true</NullabilityInfoContextSupport>
|
2022-12-11 22:28:01 +00:00
|
|
|
<!-- Workaround for an upstream issue which Realm suffers from (https://github.com/dotnet/runtime/issues/69410). -->
|
|
|
|
<UseInterpreter>true</UseInterpreter>
|
2022-12-15 21:46:32 +00:00
|
|
|
<!-- MT7091 occurs when referencing a .framework bundle that consists of a static library.
|
|
|
|
It only warns about not copying the library to the app bundle to save space,
|
|
|
|
so there's nothing to be worried about. -->
|
|
|
|
<NoWarn>$(NoWarn);MT7091</NoWarn>
|
2018-12-29 08:17:35 +00:00
|
|
|
</PropertyGroup>
|
2019-10-30 14:28:10 +00:00
|
|
|
<PropertyGroup Condition="'$(Platform)' == 'iPhone'">
|
2022-12-11 22:25:56 +00:00
|
|
|
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
|
2018-12-29 08:17:35 +00:00
|
|
|
</PropertyGroup>
|
2022-12-11 22:25:56 +00:00
|
|
|
<PropertyGroup Condition="'$(Platform)' == 'iPhoneSimulator'">
|
|
|
|
<RuntimeIdentifier>iossimulator-x64</RuntimeIdentifier>
|
2020-11-04 05:45:13 +00:00
|
|
|
</PropertyGroup>
|
2021-03-07 03:39:46 +00:00
|
|
|
<!-- Workaround to make SignalR 5.x work properly, avoiding a runtime error (https://github.com/mono/mono/issues/20805#issuecomment-791440473) -->
|
2020-11-04 05:45:13 +00:00
|
|
|
<ItemGroup>
|
2021-03-07 03:39:46 +00:00
|
|
|
<PackageReference Include="System.Memory" Version="4.5.4">
|
|
|
|
<IncludeAssets>none</IncludeAssets>
|
|
|
|
</PackageReference>
|
|
|
|
<PackageReference Include="System.Buffers" Version="4.5.1">
|
|
|
|
<IncludeAssets>none</IncludeAssets>
|
|
|
|
</PackageReference>
|
2020-11-04 05:45:13 +00:00
|
|
|
</ItemGroup>
|
2022-12-11 22:25:56 +00:00
|
|
|
<ItemGroup>
|
|
|
|
<PackageReference Include="ppy.osu.Framework.iOS" Version="2022.1204.0" />
|
|
|
|
</ItemGroup>
|
|
|
|
<!-- OpenTabletDriver contains P/Invokes to the "Quartz" framework for native macOS code.
|
|
|
|
This leads iOS linker into attempting to include that framework, despite not existing on such platform.
|
|
|
|
See: https://github.com/OpenTabletDriver/OpenTabletDriver/issues/2524 / https://github.com/xamarin/xamarin-macios/issues/15118#issuecomment-1141893683 -->
|
|
|
|
<Target Name="OsuFrameworkIOSRemoveQuartz" BeforeTargets="_ComputeLinkNativeExecutableInputs" AfterTargets="_LoadLinkerOutput">
|
|
|
|
<ItemGroup>
|
|
|
|
<_LinkerFrameworks Remove="Quartz"/>
|
|
|
|
</ItemGroup>
|
|
|
|
</Target>
|
2019-03-01 05:46:48 +00:00
|
|
|
</Project>
|