From d98a16782ce455ebf4624c6d29e4311598b7eead Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期一, 16 八月 2021 17:04:09 +0800 Subject: [PATCH] 更改.a文件,更改链接器 --- Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK.csproj | 7 ++----- 1 files changed, 2 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..f93ce44 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,9 @@ <ItemGroup> <NativeReference Include="Library\libHDLLinPhoneSDK.a"> <Kind>Static</Kind> - <SmartLink>False</SmartLink> <Frameworks></Frameworks> + <LinkerFlags>-L /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/swift/ -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/ -Wl,-rpath -Wl,@executable_path/Frameworks</LinkerFlags> + <WeakFrameworks></WeakFrameworks> </NativeReference> <NativeReference Include="Library\bctoolbox-ios.framework"> <Kind>Framework</Kind> @@ -121,10 +122,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