You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sven Tobback (JIRA)" <ji...@apache.org> on 2017/01/26 15:04:24 UTC

[jira] [Created] (CB-12402) Apps with ampersand (&) in the name throw build error in cordova-ios@4.3.0+

Sven Tobback created CB-12402:
---------------------------------

             Summary: Apps with ampersand (&) in the name throw build error in cordova-ios@4.3.0+
                 Key: CB-12402
                 URL: https://issues.apache.org/jira/browse/CB-12402
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 4.3.0
            Reporter: Sven Tobback
            Priority: Blocker


Cordova apps with an ampersand in the name give a build error since cordova-ios 4.3.0: 

"xcodebuild: error: Unable to load workspace 'Tom & Jerry.xcworkspace'.
	Reason: Could not open workspace file at ~/git/Tom & Jerry/platforms/ios/Tom & Jerry.xcworkspace/contents.xcworkspacedata"

I found that the problem is with the .xcworkspace file. The ampersand doesn't get encoded in the XML files that are generated.

PR that created the problem: https://github.com/apache/cordova-ios/pull/247

Reproduce:

1. run cordova create HelloCordova
2. edit config.xml <name> tag inside to "Tom & Jerry"
3. run cordova platform add ios@4.3.1
4. run cordova build ios 
--> ERROR



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org