Ionic-cli: ionic resources --splash command not updating ios resources

Created on 18 Jul 2016  路  6Comments  路  Source: ionic-team/ionic-cli

Running the resources command resulted in correct assets generated everywhere except ios. Took a look at platforms/ios/myApp/resources and the newly generated images were not updated, even though the correct drawables were added to android/res.

Workaround: Had to copy files manually from resources/ios to platforms/ios/myApp/resources

old major version

All 6 comments

Same problem here, except that in my case NOTHING is generated...

Related to https://github.com/driftyco/ionic-cli/issues/1166

@tisron resources are not atomatically deployed / copied to the platforms!
You have remove and re-add the platform (ionic platform remove ios and ionic platform add ios).
After that the icons and splashscreens should be there in the platform.

Would be nice for the Ionic team to fix that cause I saw many people in other forums having the same issue.

+1 this is still an issue I just tried it.

Same problem here, any fix or workaround for this?

The "resources" command creates a directory named "res" in the project root.
As a workaround you can manually move those files to the correct directory in the patform.

Thanks for the issue! This issue appears to be associated with an old version of the Ionic CLI. Please update to the latest CLI version, which supports all versions of the Ionic Framework. If the issue is relevant and if it persists after updating to the latest CLI version, please create a new issue.

Thank you for using Ionic!

Was this page helpful?
0 / 5 - 0 ratings