Bug 55860 - MSBuild generated .nib files generated from .storyboards are slightly different when compared to XBuild generated
Summary: MSBuild generated .nib files generated from .storyboards are slightly differe...
Alias: None
Product: Tools
Classification: Mono
Component: msbuild ()
Version: 5.0 (2017-02)
Hardware: PC Mac OS
: --- normal
Target Milestone: 15.3
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2017-05-01 15:25 UTC by Kyle White
Modified: 2017-06-13 14:48 UTC (History)
2 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 GitHub or Developer Community 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 Kyle White 2017-05-01 15:25:51 UTC
It appears the .nib files that get created at build time from a Xamarin.iOS application which has storyboards are slightly different (file size) when built with `msbuild` compared to those generated with `xbuild`.

This behavior can be observed with a simple template project.

Steps to reproduce:
1) In VSMac create a new Master-Detail XI app.
2) For ease of this test, disable device-specific builds
3) Build the solution with Xbuild
4) Archive the bin/iPhoneSimulator/{projectName}.app somewhere sage
5) Repeat steps 1-4 but make sure to build with MSBuild this time

Expected result:
All build artifacts are identical

Actual result:
The .nib files in the {projectName}.app/*.storyboardc directories are slightly different in size. Some are smaller, some larger.

Directory diff:

Mono version:
Mono JIT compiler version (2017-02/1d0445b Fri Apr 28 18:03:25 EDT 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           normal
	SIGSEGV:       altstack
	Notification:  kqueue
	Architecture:  x86
	Disabled:      none
	Misc:          softdebug
	LLVM:          yes(3.6.0svn-mono-master/8b1520c)
	GC:            sgen (concurrent by default)
Comment 1 Jeffrey Stedfast 2017-06-13 14:48:15 UTC
Our code doesn't generate these files, so it's some sort of binary serialization issue with ibtool.

Doesn't appear to cause any problems so I don't think this is an issue.