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

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

    [ https://issues.apache.org/jira/browse/CB-13948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16385295#comment-16385295 ] 

ASF GitHub Bot commented on CB-13948:
-------------------------------------

ronaldozanoni opened a new pull request #361: CB-13948 Properly encode app name to generate XML files using cordova-ios 4.3.1
URL: https://github.com/apache/cordova-ios/pull/361
 
 
   
   
   ### Platforms affected
   self
   
   ### What does this PR do?
   This PR merges the https://github.com/apache/cordova-ios/pull/288 and the branch _origin/4.3.x_.
   This is needed due to the _cordova-ios 4.4.0_ has removed the _IOS 8_ support and we need it yet.
   
   ### What testing has been done on this change?
   Auto-test using _Iphone 6s (IOS11)_ and some iPhone devices using IOS 8.
   
   ### Checklist
   - [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database
   - [x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>            Priority: Major
>
> 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