Bug 57063 - Can't strip debug builds
Summary: Can't strip debug builds
Alias: None
Product: iOS
Classification: Xamarin
Component: MSBuild ()
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: 15.3
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2017-06-01 16:47 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2017-07-19 10:37 UTC (History)
4 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Rolf Bjarne Kvinge [MSFT] 2017-06-01 16:47:22 UTC

* Create new iOS project
* Select Debug|Device configuration
* Ensure "Strip native debugging symbols" is checked in the iOS Build options.
* Build.


* The executable isn't stripped, which can be evidenced by this build log line:

> Task “SymbolStrip” skipped, due to false condition; (‘$(IsMacEnabled)’ == ‘true’ And ‘$(MtouchDebug)’ == ‘false’ And ‘$(MtouchNoSymbolStrip)’ == ‘false’ And ‘$(IsAppExtension)’ == ‘false’) was evaluated as (‘true’ == ‘true’ And ‘true’ == ‘false’ And ‘false’ == ‘false’ And ‘False’ == ‘false’).
Comment 1 Jeffrey Stedfast 2017-06-01 17:36:04 UTC
PR: https://github.com/xamarin/xamarin-macios/pull/2160
Comment 2 Jeffrey Stedfast 2017-06-02 15:27:22 UTC
Comment 3 Chiranjib Mukherjee 2017-06-05 10:01:14 UTC
Please provide Fix Version details
Comment 4 Jeffrey Stedfast 2017-06-05 20:39:57 UTC
it's in revision 34cca2e276f735b7cf7f534cdcf3958c9002fca9
Comment 5 Neeraj Deshmukh 2017-07-19 10:37:23 UTC
Verified on Visual Studio Enterprise 2017 for Mac (Preview)
Gist: https://gist.github.com/gangrade-swati/a142b17e8185ffe60367844369b72b12