From d2b182dd98ef9ead3a7b3bb80190d93e52262f3c Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期五, 13 八月 2021 13:34:43 +0800 Subject: [PATCH] 修改配置,替换.a --- Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK.csproj | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK.csproj b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK.csproj index 4180783..d369ec9 100644 --- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK.csproj +++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK.csproj @@ -49,8 +49,10 @@ <ItemGroup> <NativeReference Include="Library\libHDLLinPhoneSDK.a"> <Kind>Static</Kind> - <SmartLink>False</SmartLink> <Frameworks></Frameworks> + <LinkerFlags> -dead_strip -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/ -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/ </LinkerFlags> + <WeakFrameworks></WeakFrameworks> + <ForceLoad>True</ForceLoad> </NativeReference> <NativeReference Include="Library\bctoolbox-ios.framework"> <Kind>Framework</Kind> @@ -121,10 +123,6 @@ <SmartLink>False</SmartLink> </NativeReference> <NativeReference Include="Library\msopenh264.framework"> - <Kind>Framework</Kind> - <SmartLink>False</SmartLink> - </NativeReference> - <NativeReference Include="Library\HDLLinPhoneSDK.swiftmodule"> <Kind>Framework</Kind> <SmartLink>False</SmartLink> </NativeReference> -- Gitblit v1.8.0