Bug 17898 - Error 500 when remote building a project when Info.plist specifies a CFBundleIconFile which is missing
Summary: Error 500 when remote building a project when Info.plist specifies a CFBundle...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 1.10.x
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Dominique Louis
Depends on:
Reported: 2014-02-19 18:41 UTC by softlion
Modified: 2014-07-19 06:01 UTC (History)
5 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 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 softlion 2014-02-19 18:41:54 UTC
VS Log:
6>Building application on the remote server
6>Server command 'Build': application remote build failed
6>Command execution task ended with exception
6>Exception System.Net.WebException: Le serveur distant a retourné une erreur : (500) Erreur interne du serveur.
6>Exception details can be found in the log file
6>Remote build step failed.

Server side log:
[20-févr.-2014 00:20:15] Command [UploadChanges: CommmandUrl=UploadChanges] finished (14)
[20-févr.-2014 00:20:15] Handling with command: [Build: CommmandUrl=Build] (14)
[20-févr.-2014 00:20:15] Attempting to acquire command execution lock, timeout set to 00:10:00
[20-févr.-2014 00:20:15] Starting pdb2mdb "Ac.Plugins.Settings.Touch.dll"
[20-févr.-2014 00:20:15] Starting pdb2mdb "Ac.Plugins.Settings.dll"
[20-févr.-2014 00:20:15] Starting pdb2mdb "Ac.Shared.dll"
[20-févr.-2014 00:20:15] Starting pdb2mdb "AcTouch.exe"
[20-févr.-2014 00:20:16] Starting pdb2mdb "Cirrious.FluentLayouts.Touch.dll"
[20-févr.-2014 00:20:16] Command [Build: CommmandUrl=Build] finished (14)

Steps to reproduce:
Create a default ios project
Open info.plist in text
In the CFBundleIconFiles array, change the path of an image:
Select ios simulator.
Try CTRL-F5 to deploy to ios simulator.

When built with Xamarin Mac, the same project don't build and instead displays the correct error: something like "missing image file referenced in info.plist".
Comment 1 Udham Singh 2014-02-25 13:25:37 UTC
I have checked this issue and able to reproduce this.
I have implemented changes mentioned in comment 1 into the code and when try to deploy it the i am getting build failed error.

Refer for VS Log : Build

Refer for Server side Log : 

Environment Info:
Windows 7
VS 2010
X.ios 1.10.39
Comment 2 Jose Miguel Torres 2014-07-19 06:01:30 UTC
This is because the image should be included in Resources folder within the project. It's strongly recommended to use Xamarin's plist editor for Visual Studio in order to deal with project's images.

Thank you for your feedback.