cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomas Chvostek (JIRA)" <>
Subject [jira] [Commented] (CB-6992) iOS platform add/prepare fails if app display name contains unicode characters.
Date Fri, 02 Oct 2015 07:32:27 GMT


Tomas Chvostek commented on CB-6992:

Ok, so what about to fix this forever, contribute to community and make people around world
happy. Thank you very much for this.

I suggest these options:
1 . Don't add accented name to everything what cordova creates behind the build process, but
add everywhere name without accented character, and affect only the application name/product
name in iOS/Android.
2. Give some command line override to just set name for final product with accented character,
so we will create project always without accents in name but when building/running we override
the name (in cli) and cordova will set only the properties which will affect final app name
on iOS/Android.

Current problem: Our application has accents in the name, on Android build - no problem, on
iOS this does not work, when we build and deploy app we have to everytime manually touch the
config xml file and change the name to not accented name and open it in Xcode and change only
product name settings, which is very annoying.

I fixed previous sample like this: 
1. Change name to <name>Mala puca</name> in config.xml
2. Run cordova build ios
3. Build project for iOS I opened in Xcode and I select project Targets -> Builds settings
-> Product Name and set it to Malá puča
4. run from xcode works perfectly and accented name was shown below icon on device after deploy

What do you think?

> iOS platform add/prepare fails if app display name contains unicode characters.
> -------------------------------------------------------------------------------
>                 Key: CB-6992
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.5.0
>         Environment: uname: Darwin 13.1.0 Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37
PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64
> cordova-dev -v: 3.5.0-0.2.4
> cordova-lib: 0.21.3
> Node 0.10.26
> iOS
>            Reporter: Vladimir Kotikov
>            Assignee: Vladimir Kotikov
>            Priority: Critical
>              Labels: cli, configParser, ios
> Repro steps:
> # cordova create test-umlaÜt com.test.umlaÜt umlaÜt
> # cd test-umlaÜt/
> # cordova platform add ios
> Platform add fails with following error:
> {noformat}
> mv: dest file already exists: /Users/user/test/test-umlaÜt/platforms/ios/umlaÜt/umlaÜt-Info.plist
> mv: dest file already exists: /Users/user/test/test-umlaÜt/platforms/ios/umlaÜt/umlaÜt-Prefix.pch
> shell.js: internal error
> Error: EINVAL, invalid argument '/Users/user/test/test-umlaÜt/platforms/ios/umlaÜt.xcodeproj'
>     at Object.fs.renameSync (fs.js:543:18)
>     at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/shell.js:495:8
>     at Array.forEach (native)
>     at Object._mv (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/shell.js:471:11)
>     at (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/shell.js:1491:23)
>     at pbxProject.<anonymous> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/ios_parser.js:145:27)
>     at pbxProject.EventEmitter.emit (events.js:98:17)
>     at pbxProject.<anonymous> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/xcode/lib/pbxProject.js:30:18)
>     at ChildProcess.EventEmitter.emit (events.js:98:17)
>     at handleMessage (child_process.js:318:10)
> {noformat}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message