You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ronaldo Zanoni (JIRA)" <ji...@apache.org> on 2018/03/04 18:56:00 UTC

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

Ronaldo Zanoni created CB-13948:
-----------------------------------

             Summary: Apps with ampersand (&) in the name throw build error in cordova-ios@4.3.1
                 Key: CB-13948
                 URL: https://issues.apache.org/jira/browse/CB-13948
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-ios
    Affects Versions: 4.3.1
            Reporter: Ronaldo Zanoni
            Assignee: Suraj Pindoria


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

"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

NOTE: This was fixed in the _cordova-ios 4.4.0_, but that version has removed the _IOS 8_ support and we need that support yet.
So, the solution is merge the branch _origin/4.3.x_ with this pull request: https://github.com/apache/cordova-ios/pull/288
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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