XCode won't update app icon.

前端 未结 4 1533
北海茫月
北海茫月 2021-01-02 22:51

I am having trouble making XCode update my iPad app icon. I\'m building it using Phonegap/Cordova, but the app icon is built / managed through XCode.

I built the app

相关标签:
4条回答
  • 2021-01-02 23:23

    replace the icon@2x.png and Default@2x~iphone.png and then it will work fine. The new iPhones use 114x114 px icon and 640x960 px Default image

    0 讨论(0)
  • 2021-01-02 23:23

    I've seen this question asked alot on Stackoverflow and noone seems to have answered it properly yet. This is very simple actually.

    For instance if you are using phonegap to build an iOS app, all you need to do is: replace the default images on

    www/res/icon/ios/icon-36-ldpi.png
    www/res/icon/ios/icon-48-mdpi.png
    www/res/icon/ios/icon-72-hdpi.png
    www/res/icon/ios/icon-96-xhdpi.png
    

    with your icons...

    Next, before you can run the app you will need replace the icons on Xcode too: path should be

    **YOUR-APP-ROOT/platforms/ios/YOUR-APP-NAME/Resources/icons**
    

    the magic lays within "icon.png" and "icon@2x.png" however you should replace all of the icons above, and also make sure you have the correct dimensions for each image you are replacing with, otherwise the app will not built successfully.

    Now you are able to

    phonegap build ios
    

    followed by :

    phonegap run ios

    Have fun!

    0 讨论(0)
  • 2021-01-02 23:31

    top of the list (hit folder icon), targets group, select your target. hit summary, scroll down to the icons, re-point to the files you want to use. build. deploy. enjoy

    0 讨论(0)
  • 2021-01-02 23:33

    IN this link, third image from the top shows you were to change the icon. you see a folder in the left column Resources->icons. open it in the finder and replace the icon what you have for iPad etc. you can also change the splash screen images in the Resources->Splash section.

    to empty the cache delete the app from the device and do a clean and build. Even if its still there(it does at times, trust me), restart your xCode.

    0 讨论(0)
提交回复
热议问题