Skip to content
This repository was archived by the owner on Oct 19, 2020. It is now read-only.
This repository was 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

@patrickhulce

Description

@patrickhulce

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions