[
https://issues.apache.org/jira/browse/CB-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546122#comment-13546122
]
Andrew Grieve commented on CB-2160:
-----------------------------------
Hey Jesse, can you attach your Cordova.plist file?
> cordova_plist_to_config_xml fails inexplicably
> ----------------------------------------------
>
> Key: CB-2160
> URL: https://issues.apache.org/jira/browse/CB-2160
> Project: Apache Cordova
> Issue Type: Bug
> Components: Docs, iOS
> Affects Versions: 2.3.0
> Environment: 2.3.0
> Reporter: Jesse MacFadyen
> Assignee: Andrew Grieve
>
> Issue CB-1893 has apparently made it so you can update the plist to xml,
> however the documentation is non-existent, and amounts to the following 1
> line in the upgrade guide.
> 10. Convert your Cordova.plist file to config.xml, by running the script
> bin/cordova_plist_to_config_xml on your project file.
> Here is what I get ...
> jessem-MacBookPro:ios jessem$ ./bin/cordova_plist_to_config_xml
> /Repos/RisingJ/BetaGap/Generic/HyperLab.xcodeproj
> Converting /Repos/RisingJ/BetaGap/Generic/Cordova.plist to
> /Repos/RisingJ/BetaGap/Generic/config.xml.
> Traceback (most recent call last):
> File "./bin/cordova_plist_to_config_xml", line 125, in <module>
> main(sys.argv[1:])
> File "./bin/cordova_plist_to_config_xml", line 115, in main
> ConvertPlist(plist_file, config_file)
> File "./bin/cordova_plist_to_config_xml", line 76, in ConvertPlist
> plist = plistlib.readPlist(src_path)
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py",
> line 78, in readPlist
> rootObject = p.parse(pathOrFile)
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py",
> line 406, in parse
> parser.ParseFile(fileobj)
> xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column
> 9
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira