[msbuild] Strip debug symbols even if MtouchDebug is true (#2160)
* [msbuild] Strip debug symbols even if MtouchDebug is true Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=57063 * Strip frameworks as well
This commit is contained in:
Родитель
1fb67779f8
Коммит
34cca2e276
|
@ -842,7 +842,7 @@ Copyright (C) 2013-2016 Xamarin. All rights reserved.
|
|||
<!-- strip the debug symbols from the $(_NativeExecutable) -->
|
||||
<SymbolStrip
|
||||
SessionId="$(BuildSessionId)"
|
||||
Condition="'$(IsMacEnabled)' == 'true' And '%(_AppExtensionDebugSymbolProperties.Debug)' == 'false' And '%(_AppExtensionDebugSymbolProperties.NoSymbolStrip)' == 'false'"
|
||||
Condition="'$(IsMacEnabled)' == 'true' And '%(_AppExtensionDebugSymbolProperties.NoSymbolStrip)' == 'false'"
|
||||
Executable="$(_AppBundlePath)PlugIns\%(_AppExtensionDebugSymbolProperties.Identity)\%(_AppExtensionDebugSymbolProperties.NativeExecutable)"
|
||||
IsFramework="false"
|
||||
SymbolFile="%(_AppExtensionDebugSymbolProperties.SymbolsList)"
|
||||
|
@ -852,7 +852,7 @@ Copyright (C) 2013-2016 Xamarin. All rights reserved.
|
|||
<!-- touch the dSYM Info.plist so that its mtime is newer than the stripped $(_NativeExecutable) -->
|
||||
<Touch
|
||||
SessionId="$(BuildSessionId)"
|
||||
Condition="'$(IsMacEnabled)' == 'true' And '%(_AppExtensionDebugSymbolProperties.Debug)' == 'false' And '%(_AppExtensionDebugSymbolProperties.NoSymbolStrip)' == 'false'"
|
||||
Condition="'$(IsMacEnabled)' == 'true' And '%(_AppExtensionDebugSymbolProperties.NoSymbolStrip)' == 'false'"
|
||||
Files="$(AppBundleDir)\..\%(_AppExtensionDebugSymbolProperties.Identity).dSYM\Contents\Info.plist"
|
||||
>
|
||||
</Touch>
|
||||
|
@ -880,7 +880,7 @@ Copyright (C) 2013-2016 Xamarin. All rights reserved.
|
|||
<!-- strip embedded frameworks -->
|
||||
<SymbolStrip
|
||||
SessionId="$(BuildSessionId)"
|
||||
Condition="'$(IsMacEnabled)' == 'true' And '$(MtouchDebug)' == 'false' And '$(MtouchNoSymbolStrip)' == 'false'"
|
||||
Condition="'$(IsMacEnabled)' == 'true' And '$(MtouchNoSymbolStrip)' == 'false'"
|
||||
Executable="%(_Frameworks.Identity)"
|
||||
IsFramework="true"
|
||||
SymbolFile=""
|
||||
|
@ -910,7 +910,6 @@ Copyright (C) 2013-2016 Xamarin. All rights reserved.
|
|||
<NoSymbolStrip>$(MtouchNoSymbolStrip)</NoSymbolStrip>
|
||||
<SymbolsList>$(_SymbolsListFullPath)</SymbolsList>
|
||||
<NoDSymUtil>$(MtouchNoDSymUtil)</NoDSymUtil>
|
||||
<Debug>$(MtouchDebug)</Debug>
|
||||
</_AppExtensionDebugSymbolProperties>
|
||||
</ItemGroup>
|
||||
|
||||
|
@ -946,7 +945,7 @@ Copyright (C) 2013-2016 Xamarin. All rights reserved.
|
|||
<!-- strip the debug symbols from the $(_NativeExecutable) -->
|
||||
<SymbolStrip
|
||||
SessionId="$(BuildSessionId)"
|
||||
Condition="'$(IsMacEnabled)' == 'true' And '$(MtouchDebug)' == 'false' And '$(MtouchNoSymbolStrip)' == 'false' And '$(IsAppExtension)' == 'false'"
|
||||
Condition="'$(IsMacEnabled)' == 'true' And '$(MtouchNoSymbolStrip)' == 'false' And '$(IsAppExtension)' == 'false'"
|
||||
Executable="$(_NativeExecutable)"
|
||||
IsFramework="false"
|
||||
SymbolFile="$(_MtouchSymbolsList)"
|
||||
|
@ -956,7 +955,7 @@ Copyright (C) 2013-2016 Xamarin. All rights reserved.
|
|||
<!-- touch the dSYM Info.plist so that its mtime is newer than the stripped $(_NativeExecutable) -->
|
||||
<Touch
|
||||
SessionId="$(BuildSessionId)"
|
||||
Condition="'$(IsMacEnabled)' == 'true' And '$(MtouchDebug)' == 'false' And '$(MtouchNoSymbolStrip)' == 'false' And '$(IsAppExtension)' == 'false'"
|
||||
Condition="'$(IsMacEnabled)' == 'true' And '$(MtouchNoSymbolStrip)' == 'false' And '$(IsAppExtension)' == 'false'"
|
||||
Files="$(AppBundleDir).dSYM\Contents\Info.plist"
|
||||
>
|
||||
</Touch>
|
||||
|
|
Загрузка…
Ссылка в новой задаче