mirror of
https://github.com/ppy/osu.git
synced 2024-11-07 13:47:33 +08:00
39 lines
2.0 KiB
XML
39 lines
2.0 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>
|
|
<!-- 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>
|
|
</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.1216.1" />
|
|
</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>
|