[ 
https://issues.apache.org/jira/browse/CB-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16464613#comment-16464613
 ] 

ASF GitHub Bot commented on CB-13191:
-------------------------------------

ibrent commented on issue #337: CB-13191: (ios) Support marketing icon
URL: https://github.com/apache/cordova-ios/pull/337#issuecomment-386776838
 
 
   The following fix worked. But there are small things to notice.
    
   **1.  Make sure your 1024 icon is the correct size with no transparency or 
alpha channel.**  You can see this if you COMMAND-i while the icon is selected. 
 This info window will tell you the size, format and if there is alpha.  If 
there is, open it in your photo editing tool and fix it or I think Preview will 
do it too when you save.
    
   **2.  Add this to your config XML:**
   <icon src="icon/ios/icon.png" width="1024" height="1024" />
   <preference name="phonegap-version" value="cli-7.1.0" />
   
   **3.  Make sure to remove the old reference to an 'icon.png' in your 
config.xml.**  It was the first entry of my icons.  There may be a tiny one 
there if you used PG app to build a hello world app.  Replace the old reference 
with the new one.  Make sure the image path correctly matches your icon folder 
path.
    
   **4.  Add your new 1024px icon.png into your icon image folder**.  Delete 
the old image which may be named 'icon.png' with this new 1024px one.  I just 
renamed the existing one 'icon-old.png'.
    
   This worked for me, but I spent a day searching the web and trying stuff.  
And this is a 2-year-old BUG.  Good luck.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> iOS: Missing icons in Images.xcassets
> -------------------------------------
>
>                 Key: CB-13191
>                 URL: https://issues.apache.org/jira/browse/CB-13191
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>            Reporter: Tim Brust
>            Assignee: Suraj Pindoria
>            Priority: Major
>              Labels: backlog, ios-next
>             Fix For: cordova-ios@4.5.1
>
>         Attachments: missing_icons_ios.png, missing_icons_watchos.png
>
>
> There are some missing icons when the generated Xcode project is opened.
> I believe this is the place where Images.xcassets are created: 
> https://github.com/apache/cordova-ios/blob/master/bin/templates/scripts/cordova/lib/prepare.js#L312
>  and a reference commit for iOS 9 update: 
> https://github.com/apache/cordova-ios/commit/d0521fe28d3c20054908d229298ba9ced1033c92
> The updated links from Apple regarding App Icon sizes and images can be found 
> here:
> https://developer.apple.com/ios/human-interface-guidelines/graphics/app-icon/
> https://developer.apple.com/watchos/human-interface-guidelines/icons-and-images/
> (should be changed in the code comment)
> See attached screenshot from Xcode Version 9.0 beta 5 (9M202q)
> h4. *List of missing icons*
> *iOS*
> -App icons:-
> -1024x1024 (@1) for the App Store - new/added in Xcode 9 and iOS- (fixed via 
> PR #337)
> Notifications:
> iPhone Notification iOS 7 - 11 (20x20 @2 and @3)
> iPad Notification iOS 7 - 11 (20x20 @1 and @2)
> *watchOS*
> There are currently *no* Apple Watch Icons at all:
> App icon:
> Apple Watch Companion Settings (29x29 @2 and @3)
> Home screen icon:
> Apple Watch Home Screen (all) (40x40 @2)
> Notification:
> Apple Watch Notification Center 38mm (24x24 @2)
> Apple Watch Notification Center 42mm (27.5x27.5 @2)
> Look icons (see here: 
> https://developer.apple.com/watchos/human-interface-guidelines/app-components)
> Short look icons
> Apple Watch Short Look 38mm (86x86 @2)
> Apple Watch Short Look 42mm (98x98 @2)
> Long look icons
> Apple Watch Long Look 38mm (40x40 @2)
> Apple Watch Long Look 42mm (44x44 @2)
> App Store
> Apple Watch App Store (1024x1024 @1)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to