cordova version 8.1.2 (cordova-lib@8.1.1)
cordova-icon version 1.0.0
The icons get written to platforms/ios/[object Object]/Images.xcassets/AppIcon.appiconset/icon-20.png instead of platforms/ios/Application Name/Images.xcassets/
Manually adding
if (typeof projectName === 'object') projectName = projectName._;
to line 25 of cordova-icon/index.js fixed the problem for me.
cordova version 8.1.2 (cordova-lib@8.1.1) cordova-icon version 1.0.0
The icons get written to
platforms/ios/[object Object]/Images.xcassets/AppIcon.appiconset/icon-20.png
instead ofplatforms/ios/Application Name/Images.xcassets/
Manually adding
to line 25 of cordova-icon/index.js fixed the problem for me.