Bug 44400 - xcassets editor: Can't add iPad Pro app icon
Summary: xcassets editor: Can't add iPad Pro app icon
Status: VERIFIED DUPLICATE of bug 45257
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 4.2.0 (C8)
Hardware: PC Windows
: Normal normal
Target Milestone: 4.3.0 (C9)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-09-16 00:07 UTC by Dominik Weber
Modified: 2016-11-01 17:19 UTC (History)
7 users (show)

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


Attachments
iPad Pro App icon when "iPad - iOS 7.0 and Later" is "True" (115.83 KB, image/png)
2016-09-17 01:20 UTC, Brendan Zagaeski (Xamarin Team, assistant)
Details
xcasset ipad pro german (44.21 KB, image/png)
2016-09-20 12:40 UTC, Dominik Weber
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:
VERIFIED DUPLICATE of bug 45257

Description Dominik Weber 2016-09-16 00:07:31 UTC
Adding iPad Pro app icons (167x167) is not possible from the xcasset editor for Visual Studio. There is no button to select the icon and when I select the icon using Xamarin Studio on Mac it is removed from the Contents.json file when I add/change other icons in Visual Studio later on.
Comment 1 Brendan Zagaeski (Xamarin Team, assistant) 2016-09-17 01:20:28 UTC
Created attachment 17566 [details]
iPad Pro App icon when "iPad - iOS 7.0 and Later" is "True"

> Adding iPad Pro app icons (167x167) is not possible from the xcasset
> editor for Visual Studio. There is no button to select the icon

For this fist "half" of the reported problem, the answer is hopefully just that you will need to set "iPad - iOS 7.0 and Later" to "True" under the "Properties" panel (when the Asset Catalog as a whole is selected).

(See also the attached screenshot.)


> when I select the icon using Xamarin Studio on Mac it is removed from the
> Contents.json file when I add/change other icons in Visual Studio later on.

I haven't tested that cross-IDE scenario yet, so this second symptom will quite possibly still need further investigation.  I will leave the bug as "new" for now pending a test of that scenario by a member of the Xamarin team.
Comment 2 Dominik Weber 2016-09-20 12:40:30 UTC
Created attachment 17609 [details]
xcasset ipad pro german
Comment 3 Dominik Weber 2016-09-20 12:43:10 UTC
Sorry, I didn't see that option. Maybe make it the default for new appimage asset catalogs?
I have recreated the catalog, but it still doesn't work. The created Contents.json file contains this entry:

    {
      "scale": "2x",
      "size": "83,5x83,5",
      "idiom": "ipad",
      "filename": "Icon-167.png"
    }

where it should be "83.5x83.5" (my computer is set up with german regional settings, I assume the double to string conversion is buggy).

This results in a rejection of my app: Missing required icon file. The bundle does not contain an app icon for iPad of exactly '167x167' pixels, in .png format for iOS versions supporting iPad Pro.

When I change the line to use . instead of , it works.

Also see the attached screenshot - I can select an image, but the description is "unknown".
https://bugzilla.xamarin.com/attachment.cgi?id=17609
Comment 4 Petr Kucera 2016-10-10 21:27:24 UTC
Try to close Visual Studio, set your system to English regional settings and open the project again. You will have to set the icon again, but it will work after you rebuild the project. See my reported bug.

https://bugzilla.xamarin.com/show_bug.cgi?id=45257
Comment 5 Emanuel 2016-11-01 16:47:15 UTC

*** This bug has been marked as a duplicate of bug 45257 ***