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> <PropertyGroup>
<TargetFramework>net10.0-ios</TargetFramework> <TargetFramework>net10.0-ios</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
@ -11,6 +11,17 @@
--> -->
<IsTrimmable>true</IsTrimmable> <IsTrimmable>true</IsTrimmable>
</PropertyGroup> </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> <ItemGroup>
<ObjcBindingApiDefinition Include="ApiDefinition.cs" /> <ObjcBindingApiDefinition Include="ApiDefinition.cs" />
@ -30,9 +41,10 @@
<ItemGroup> <ItemGroup>
<NativeReference Include="NfcLockFramework.xcframework"> <NativeReference Include="NfcLockFramework.xcframework">
<Frameworks>CoreNFC NFCSDK</Frameworks> <Frameworks>CoreNFC Foundation</Frameworks>
<Kind>Framework</Kind> <Kind>Framework</Kind>
<SmartLink>False</SmartLink> <SmartLink>True</SmartLink>
<ForceLoad>False</ForceLoad>
</NativeReference> </NativeReference>
</ItemGroup> </ItemGroup>
@ -47,8 +59,9 @@
<ItemGroup Condition="$(TargetFramework.Contains('-ios'))"> <ItemGroup Condition="$(TargetFramework.Contains('-ios'))">
<NativeReference Include="shared_nfc_kmp.xcframework"> <NativeReference Include="shared_nfc_kmp.xcframework">
<Kind>Framework</Kind> <Kind>Framework</Kind>
<SmartLink>False</SmartLink> <SmartLink>True</SmartLink>
<Frameworks>CoreNFC Foundation</Frameworks> <Frameworks>CoreNFC Foundation</Frameworks>
<ForceLoad>False</ForceLoad>
</NativeReference> </NativeReference>
</ItemGroup> </ItemGroup>
</Project> </Project>