You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Bryan Ellis (Jira)" <ji...@apache.org> on 2022/07/25 05:15:00 UTC
[jira] [Closed] (CB-6269) Can't build a IOS project from CLI, if its name has special chars (accents)
[ https://issues.apache.org/jira/browse/CB-6269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Ellis closed CB-6269.
---------------------------
Resolution: Cannot Reproduce
Closing this issue as unreproducible. Might have already been resolved in later releases since ticket creation.
I tested with the following commands on Cordova CLI 11.0.0 with the latest Cordova-iOS Platform release.
cordova create test com.test "Téça App"
cd test
cordova platform add ios
cordova build ios
And confirmed the build to be successful.
> Can't build a IOS project from CLI, if its name has special chars (accents)
> ---------------------------------------------------------------------------
>
> Key: CB-6269
> URL: https://issues.apache.org/jira/browse/CB-6269
> Project: Apache Cordova
> Issue Type: Improvement
> Components: cordova-cli
> Affects Versions: 3.4.0
> Environment: Mac OS X 10.9, iOS
> Reporter: Marcel Barbosa Pinto
> Priority: Minor
> Labels: International, build, ios, normalization, project
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> CLI commands:
> cordova create test com.test "Téça App"
> cd test
> cordova platform add ios
> cordova build ios
> it generates an error in the following file:
> cordova/src/metadata/ios_parser.js line 78
> if(name != this.originalName){
> (...)
> }
> The app name with accent ("Téça App") is not normalized. All though the name is the same, the condition above returns true;
> Variable name comes from the config.name() that reads the config.xml
> variable this.originalName comes from the fs.readdirSync
> Maybe the encode get lost here, or we should just add a normalize function before compare the strings.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org