Resolution: Won't Fix
Affects Version/s: 4.3.1
Fix Version/s: None
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
1. run cordova create HelloCordova
2. edit config.xml <name> tag inside to "Tom & Jerry"
3. run cordova platform add email@example.com
4. run cordova build ios
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