Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6992

iOS platform add/prepare fails if app display name contains unicode characters.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: None
    • Component/s: cordova-cli
    • 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

      Description

      Repro steps:

      1. cordova create test-umlaÜt com.test.umlaÜt umlaÜt
      2. cd test-umlaÜt/
      3. cordova platform add ios

      Platform add fails with following error:

      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 Object.mv (/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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shazron Shazron Abdullah
                Reporter:
                vladimir.kotikov Vladimir Kotikov
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: