1. #1
    Sencha User
    Join Date
    May 2014
    Posts
    67
    Vote Rating
    3
    patrickkidd is on a distinguished road

      0  

    Default Straightforward way to set iOS app icons in touch + phonegap?

    I have seen a lot of different approaches to this but none seem to work for me. What is the straightforward way to set iOS app icons for a vanilla touch 2.3.1 + phonegap project with cmd 4? I have all the files in <sencha>/resources/icons and have set the appropriate paths in <sencha>/config.xml like this:

    Code:
        <icon gap:platform="ios" height="57" src="resources/icons/Icon.png" width="57" />
        <icon gap:platform="ios" height="72" src="resources/icons/Icon-72.png" width="72" />
        <icon gap:platform="ios" height="114" src="resources/icons/Icon@2x.png" width="114" />
        <icon gap:platform="ios" height="144" src="resources/icons/Icon-72@2x.png" width="144" />
    but no dice even with variations of "www/resources", "../resources" etc. is there some kind of cache that needs to be cleared? What about for splash and loading icons too? This seems to be a hole in the docs.

    Thanks!

  2. #2
    Sencha User
    Join Date
    May 2014
    Posts
    67
    Vote Rating
    3
    patrickkidd is on a distinguished road

      0  

    Default

    Wow, this problem isn't really solved huh? Seems like a pretty major feature to leave unattended...

  3. #3
    Sencha User
    Join Date
    May 2014
    Posts
    67
    Vote Rating
    3
    patrickkidd is on a distinguished road

      1  

    Default

    Solved. It looks like "sencha app build native" doesn't copy the resources folder into the phonegap folder. Once that is done the existing Xcode project will update with the proper icons. Sheesh, what a pain!

    Also, it may be necessary to have the correct config.xml entries as shown in the following SO link, not sure:

    http://stackoverflow.com/questions/2...ect=1#29521225

    Is this bug-worthy? Seems like it since there are no docs spearheading this issue.

    Thanks!

  4. #4
    Sencha Premium Member Iveco's Avatar
    Join Date
    Aug 2007
    Location
    Germany
    Posts
    107
    Vote Rating
    21
    Iveco will become famous soon enough

      0  

    Default

    +1, would like to see an official answer from Sencha Support.
    German EXT-User and -Lover :-).

Similar Threads

  1. Sencha Touch 2.2.1, Phonegap 2.9.0 and Phonegap Plugin Mapkit
    By bandicut in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 29 Aug 2013, 3:15 AM
  2. straightforward question re: app.js build
    By chdig in forum Sencha Cmd
    Replies: 1
    Last Post: 17 Jul 2013, 10:56 AM
  3. Nested JSON; is there a straightforward example/guide anywhere?
    By junksh3d@gmail.com in forum Ext: Discussion
    Replies: 10
    Last Post: 11 Apr 2013, 4:14 AM
  4. Replies: 1
    Last Post: 19 Aug 2011, 6:59 AM

Thread Participants: 1

Tags for this Thread