Bug 1511 - Detect icon name case mismatch
Summary: Detect icon name case mismatch
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 2.8
Hardware: Macintosh Mac OS
: --- enhancement
Target Milestone: ---
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2011-10-15 11:01 UTC by Neal
Modified: 2011-10-26 12:43 UTC (History)
3 users (show)

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

Description Neal 2011-10-15 11:01:17 UTC
Hello,

The last version of my app I submitted to apple using MT 4.2.2 got rejected during the submission process because my widget icon image was Icon.png and it has to be icon.png.  They must have changed something in their app uploader/verification process (or its a bug on their end) but regardless I have had to rename my icon images, etc. to use lower case names.  I submitted my MT 5 app update two days ago with the renamed images and it worked fine, the submission system didn't kick back the upload.

If this is the case you may want to code this into MT to enforce the lower case name requirement OR simply lowercase it like I think is done in Mono for Android such as with resources.

It's probably a good practice in iOS development and Android for that matter to just lowercase all resources, images, etc. to be safe.

FYI
Comment 1 Sebastien Pouliot 2011-10-15 12:27:55 UTC
Thanks for the feedback.

-> monodevelop
Comment 2 Mikayla Hutchinson [MSFT] 2011-10-18 04:21:54 UTC
Icons don't have to have lowercase names, most likely there's a casing mismatch between the icon filename in the project/Info.plist and on disk. MacOS usually has a case-insensitive file system so the images would be loaded from the disk despite the incorrect casing in the manifest, but wouldn't work on iOS, which has a case sensitive filesystem.
Comment 3 Alan McGovern 2011-10-18 08:22:14 UTC
Neal, would you be able to check if the issue was caused by your icon files having upper case letters but the MonoDevelop project files (such as Info.plist) referencing them with all lower case?
Comment 4 Neal 2011-10-18 09:05:43 UTC
Alan,

That would have been a good thing to check but I have since renamed my Icon.png to icon.png to ensure it never happens again.  And because I can't get SVN to work in MD 2.8.1 (another case submitted) I don't have a history to check against either.  I'll see if I have any zip archives which I often create as a backup and see if I can find anything but I doubt it.
Comment 5 Alan McGovern 2011-10-26 12:43:01 UTC
MonoDevelop now enforces that icon files must have the same casing as they are described in the info.plist. If this was simply a casing issue, it will cause a compile time error in monodevelop 2.8.2+ and so you will detect it well before submission time. If you have any further issues with your app getting rejected, please do let us know. Either reopen this issue or file a new issue as appropriate and we'll get it fixed asap.

Thanks for the report!