mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 03:42:57 +08:00
Enable AOT compilation on iOS release builds
This commit is contained in:
parent
c7d0279a44
commit
a7f0835866
@ -2,13 +2,20 @@
|
||||
<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="'$(Configuration)' == 'Debug'">
|
||||
<!-- On debug configurations, we use Mono interpreter for faster compilation. -->
|
||||
<UseInterpreter>true</UseInterpreter>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
||||
<!-- On release configurations, we use AOT compiler for optimal performance, along with Mono Interpreter as a fallback for libraries such as AutoMapper. -->
|
||||
<UseInterpreter>false</UseInterpreter>
|
||||
<MtouchInterpreter>-all</MtouchInterpreter>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Platform)' == 'iPhone'">
|
||||
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
|
||||
</PropertyGroup>
|
||||
|
Loading…
Reference in New Issue
Block a user