cordova-ios
cordova-ios copied to clipboard
ios <<icon> label No other attributes error
Hello, anyone can help me.
I installed 9.0.0 ([email protected]) under mac os
I am doing the following to create a project
- Run following commands
cordova create hello com.example.hello HelloWorld
cd hello
- I have created the directory and files. --icon.png modify config.xml
<widget>
.....
.....
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
</platform>
<icon src="res/icon.png" />
</widget>
- Run following commands
cordova platform add ios
cordova run ios
- Found icon can't change or default icon
I improved the formatting of your issue.
- Do you create
res/icon.pngin step 2? - Please explain the outcome in step 4. Do you get an error? Or is the icon not used by the app?
iOS requires different icons with the size attributes, a single icon without attributes is not supported. This is a docs problem because here it says a single icon can be used