From 5df13daeccbefa52f098191bf31a3365158bbd2b Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 02 二月 2021 10:31:01 +0800 Subject: [PATCH] 2021-02-02 1.属性 移除-all_load,增加-dead_strip。 --- xamarin/Shared.IOS.ESVideoPhoneSDK/Shared.IOS.ESVideoPhoneSDK.csproj | 3 ++- xamarin/Shared.IOS.ESVideoPhoneSDK/Properties/AssemblyInfo.cs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/xamarin/Shared.IOS.ESVideoPhoneSDK/Properties/AssemblyInfo.cs b/xamarin/Shared.IOS.ESVideoPhoneSDK/Properties/AssemblyInfo.cs index 9bd96e0..b996201 100644 --- a/xamarin/Shared.IOS.ESVideoPhoneSDK/Properties/AssemblyInfo.cs +++ b/xamarin/Shared.IOS.ESVideoPhoneSDK/Properties/AssemblyInfo.cs @@ -25,7 +25,7 @@ // The form "{Major}.{Minor}.*" will automatically update the build and revision, // and "{Major}.{Minor}.{Build}.*" will update just the revision. -[assembly: AssemblyVersion("1.0.2")] +[assembly: AssemblyVersion("1.0.3")] // The following attributes are used to specify the signing key for the assembly, // if desired. See the Mono documentation for more information about signing. diff --git a/xamarin/Shared.IOS.ESVideoPhoneSDK/Shared.IOS.ESVideoPhoneSDK.csproj b/xamarin/Shared.IOS.ESVideoPhoneSDK/Shared.IOS.ESVideoPhoneSDK.csproj index f1da521..4506d9d 100644 --- a/xamarin/Shared.IOS.ESVideoPhoneSDK/Shared.IOS.ESVideoPhoneSDK.csproj +++ b/xamarin/Shared.IOS.ESVideoPhoneSDK/Shared.IOS.ESVideoPhoneSDK.csproj @@ -49,8 +49,9 @@ <ItemGroup> <NativeReference Include="Library\libESVideoPhoneSDKXamarin.a"> <Kind>Static</Kind> - <LinkerFlags>-ObjC -Wl -all_load -lz -lbz2 -liconv.2.4.0</LinkerFlags> + <LinkerFlags>-dead_strip -Wl -lz -lbz2 -liconv.2.4.0 -ObjC</LinkerFlags> <Frameworks></Frameworks> + <ForceLoad>True</ForceLoad> </NativeReference> <NativeReference Include="Library\ESVideoPhoneSDk.a"> <Kind>Static</Kind> -- Gitblit v1.8.0