Bug 24766 - Launch images removed from Info.plist when project properties are changed
Summary: Launch images removed from Info.plist when project properties are changed
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 3.7
Hardware: PC Windows
: Normal normal
Target Milestone: 15.2
Assignee: Emanuel
URL:
Depends on:
Blocks:
 
Reported: 2014-11-24 02:22 UTC by Mikael Nensén
Modified: 2017-06-09 21:54 UTC (History)
5 users (show)

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


Attachments
Zip Xamarin Logs (5.56 KB, application/x-zip-compressed)
2014-11-24 05:30 UTC, Udham Singh
Details


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 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:
Status:
RESOLVED FIXED

Description Mikael Nensén 2014-11-24 02:22:09 UTC
How to reproduce:
1. Right-click the iOS project and select Properties.
2. Change the build version.
3. Save.

Expected result:
Info.plist gets a new value after the CFBundleVersion key.

What really happens:
Info.plist gets a new value after the CFBundleVersion key, but the launch images are removed from the Info.plist.


Before:
	<key>CFBundleVersion</key>
	<string>5</string>
	<key>CFBundleShortVersionString</key>
	<string>0.1</string>
	<key>CFBundleIconFiles</key>
	<array>
		<string>Icon@2x.png</string>
		<string>Icon.png</string>
		<string>Icon-60@2x.png</string>
		<string>Default.png</string>
		<string>Default@2x.png</string>
		<string>Default-568h@2x.png</string>
		<string>Icon-Small@2x.png</string>
		<string>Icon-Small.png</string>
		<string>Icon-Small-40@2x.png</string>
	</array>

After:
	<key>CFBundleVersion</key>
	<string>6</string>
	<key>CFBundleShortVersionString</key>
	<string>0.1</string>
	<key>CFBundleIconFiles</key>
	<array>
		<string>Icon@2x.png</string>
		<string>Icon.png</string>
		<string>Icon-60@2x.png</string>
		<string>Icon-Small@2x.png</string>
		<string>Icon-Small.png</string>
		<string>Icon-Small-40@2x.png</string>
	</array>

Other information:
The project was created with a Xamarin Trial license but we're not using a business one, does the project still think that it's using a trial license? The reason I'm bringing this up is because when you build using a trial license you can't change the launch images.
Comment 1 Udham Singh 2014-11-24 05:30:06 UTC
Created attachment 8846 [details]
Zip Xamarin Logs

I have checked this issue and observed the same behaviour mentioned in bug description. To reproduce this issue I have followed the steps mentioned in bug description.

Screencast : http://www.screencast.com/t/fhYeoif013P

Environment Info :

Windows 8
VS 2013
Xamarin 3.8.150.0
Xamarin.iOS Build Host : 8.4.0.43
Comment 2 mag@xamarin.com 2016-12-23 12:41:32 UTC
Assigning to Emanuel for proper verification
Comment 4 Emanuel 2017-06-09 21:54:22 UTC
This issue was fixed as part of the Manifest Editor revamp on 15.2.

Thanks for reporting!