Ios app icon doesn't show when run from command line

hi everyone :smiley:

I created a custom icon with ā€œionic resourcesā€, but when I type ā€œionic run iosā€ it still shows the default icon on my iPhone device.

But when I run the ionic project from XCode, the custom icon displays correctly.

Is this expected behavior? Is there anything I can do to fix it? Iā€™d rather use ionicā€™s CLI.

Thanks!


hereā€™s my ā€œionic infoā€:

(Iā€™m actually on macOS Sierra, idk why it says El Capitan)

Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v6.6.0
Xcode version: Xcode 8.0 Build version 8A218a

I think you need to place the custom icon in the /resources folder with icon.png name and then tried to run ionic with run ios command.

Let me know incase of any query/concern for the same.

I had exactly the same problem. I managed to fix it by running:

ionic run ios --device

1 Like

THAT WORKED! THANK YOU SO MUCH! :grinning:

1 Like