Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

Icons not written to correct iOS path (uses [object Object] instead of App Name) #131

Open
patrickhulce opened this issue Dec 1, 2018 · 1 comment

Comments

@patrickhulce
Copy link

patrickhulce commented Dec 1, 2018

cordova version 8.1.2 ([email protected])
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.

@GabeGates
Copy link

I had the same issue, making your update resolved this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants