This commit is contained in:
denggaofeng 2026-03-09 15:00:26 +08:00
parent 015283e9e3
commit ac5b0956dd

View File

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0-ios</TargetFramework>
<Nullable>enable</Nullable>
@ -11,6 +11,17 @@
-->
<IsTrimmable>true</IsTrimmable>
</PropertyGroup>
<ItemGroup>
<AtlasTexture Remove="NfcLockFramework\**" />
<Compile Remove="NfcLockFramework\**" />
<CoreMLModel Remove="NfcLockFramework\**" />
<EmbeddedResource Remove="NfcLockFramework\**" />
<ImageAsset Remove="NfcLockFramework\**" />
<InterfaceDefinition Remove="NfcLockFramework\**" />
<Metal Remove="NfcLockFramework\**" />
<None Remove="NfcLockFramework\**" />
<SceneKitAsset Remove="NfcLockFramework\**" />
</ItemGroup>
<ItemGroup>
<ObjcBindingApiDefinition Include="ApiDefinition.cs" />
@ -30,9 +41,10 @@
<ItemGroup>
<NativeReference Include="NfcLockFramework.xcframework">
<Frameworks>CoreNFC NFCSDK</Frameworks>
<Frameworks>CoreNFC Foundation</Frameworks>
<Kind>Framework</Kind>
<SmartLink>False</SmartLink>
<SmartLink>True</SmartLink>
<ForceLoad>False</ForceLoad>
</NativeReference>
</ItemGroup>
@ -47,8 +59,9 @@
<ItemGroup Condition="$(TargetFramework.Contains('-ios'))">
<NativeReference Include="shared_nfc_kmp.xcframework">
<Kind>Framework</Kind>
<SmartLink>False</SmartLink>
<SmartLink>True</SmartLink>
<Frameworks>CoreNFC Foundation</Frameworks>
<ForceLoad>False</ForceLoad>
</NativeReference>
</ItemGroup>
</Project>