forked from ppy/osu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathosu.iOS.props
More file actions
38 lines (38 loc) · 2.36 KB
/
Copy pathosu.iOS.props
File metadata and controls
38 lines (38 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<Project>
<PropertyGroup>
<CodesignKey>iPhone Developer</CodesignKey>
<NullabilityInfoContextSupport>true</NullabilityInfoContextSupport>
<!-- 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;CS8767;IL2026;IL2067</NoWarn>
<!-- Disable Roslyn-based ILLink trim analyzer: the codebase uses extensive reflection
(Newtonsoft.Json, Realm, AutoMapper, RuntimeBinder) that cannot be statically analysed.
SuppressTrimAnalysisWarnings only suppresses ILLink tool warnings, not the Roslyn analyzer. -->
<EnableTrimAnalyzer>false</EnableTrimAnalyzer>
<!-- iOS test projects define an explicit Program.Main entry point (UIApplication.Main).
Microsoft.NET.Test.Sdk v18+ auto-generates MicrosoftTestingPlatformEntryPoint.Main()
which conflicts with the explicit one, producing CS7022 warnings. Disable it. -->
<GenerateTestingPlatformEntryPoint>false</GenerateTestingPlatformEntryPoint>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<!-- On debug configurations, we use Mono interpreter for faster compilation. -->
<UseInterpreter>true</UseInterpreter>
<!-- Disable linker in debug to avoid ILLink failures from reflection-heavy code
(Newtonsoft.Json, Realm, AutoMapper, dynamic binding). -->
<MtouchLink>None</MtouchLink>
<!-- Suppress trim analysis warnings even in Debug (CI builds Debug). -->
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
</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>
<!-- Suppress ILLink trim analysis warnings: the project uses extensive reflection
(Newtonsoft.Json, Realm, AutoMapper, RuntimeBinder) that cannot be statically analysed. -->
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ppy.osu.Framework.iOS" Version="2026.420.3" />
</ItemGroup>
</Project>