Github user csantanapr commented on a diff in the pull request: https://github.com/apache/cordova-ios/pull/182#discussion_r47048171 --- Diff: bin/templates/scripts/cordova/lib/prepare.js --- @@ -257,10 +257,11 @@ function handleBuildSettings(platformConfig, locations) { return Q(); } -function handleIcons(projectConfig, platformRoot) { +function handleIcons(projectConfig, platformRoot, locations) { var icons = projectConfig.getIcons('ios'); - var appRoot = projectConfig.path; + var appRoot = path.dirname(projectConfig.path); + var originalName = path.basename(locations.xcodeCordovaProj); --- End diff -- no need to create a new variable originalName or add 3rd parameter, use the value already provided here self.locations.xcodeCordovaProj
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org