mirror of
https://github.com/ppy/osu.git
synced 2024-09-21 18:07:23 +08:00
35 lines
1.7 KiB
XML
35 lines
1.7 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<CodesignKey>iPhone Developer</CodesignKey>
|
|
<NullabilityInfoContextSupport>true</NullabilityInfoContextSupport>
|
|
<!-- Workaround for an upstream issue which Realm suffers from (https://github.com/dotnet/runtime/issues/69410). -->
|
|
<UseInterpreter>true</UseInterpreter>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Platform)' == 'iPhone'">
|
|
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Platform)' == 'iPhoneSimulator'">
|
|
<RuntimeIdentifier>iossimulator-x64</RuntimeIdentifier>
|
|
</PropertyGroup>
|
|
<!-- Workaround to make SignalR 5.x work properly, avoiding a runtime error (https://github.com/mono/mono/issues/20805#issuecomment-791440473) -->
|
|
<ItemGroup>
|
|
<PackageReference Include="System.Memory" Version="4.5.4">
|
|
<IncludeAssets>none</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="System.Buffers" Version="4.5.1">
|
|
<IncludeAssets>none</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
<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>
|
|
</Project>
|