Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Created attachment 13126 [details]
While building an archive for an iOS project, the .dSYM file is generated incorrectly between subsequent builds if something small like a version number is changed in the info.plist.
Possibly related to #27419.
**Steps to Reproduce:**
1. Open terminal to the location of the .sln file
2. Execute /Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool -v archive -configuration:"Release|iPhone" -p:HelloXamarin.iOS HelloXamarin.sln
3. Change the version in HelloXamarin/iOS/Info.plist via text editor, then save the file.
4. Execute /Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool -v archive -configuration:"Release|iPhone" -p:HelloXamarin.iOS HelloXamarin.sln
5. Compare the sizes of the xcarchives/.dSYMs generated.
The first time, the .dSYM is 42 MB, the second time it is only 17 KB.
The .dSYM should be roughly the same each time.
**Build Date & Platform:**
=== Xamarin Studio ===
Version 5.9.5 (build 10)
Installation UUID: f61f9313-d88e-46fb-8d91-ce5e07b042fc
Mono 4.0.3 ((detached/d6946b4)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400030020
=== Apple Developer Tools ===
Xcode 6.4 (7720)
=== Xamarin.iOS ===
Version: 22.214.171.124 (Business Edition)
Build date: 2015-08-04 13:52:25-0400
=== Xamarin.Android ===
=== Xamarin Android Player ===
Location: /Applications/Xamarin Android Player.app
=== Xamarin.Mac ===
=== Build Information ===
Release ID: 509050010
Git revision: 48d16bc4f12ce3938964fc7c3d72fdc6887ad4ad
Build date: 2015-08-18 16:55:24-04
Xamarin addins: c2d51b360ad9f59e689046d47030df27de28f94a
=== Operating System ===
Mac OS X 10.10.5
I also tried on Alpha with XI 9.2
This sounds like the rebuilding logic in the MSBuild tasks is wrong.
@Jeff, can you have a look?
Also, if anyone can clarify is mdtool should not be used, and msbuild should be used instead, that would be great. And if so, how do you generate archives with msbuild?
The comments here hint at something: http://stackoverflow.com/a/29043899
Chris Hardy reported this a while ago and I've already fixed it, but it's not in iOS 8.10.
What version is this fixed in? John Miller tested this on Alpha with XI 9.2 and still had issues.