Reputation: 113
The essence of the problem:
An XML parsing error has occurred
The XML File: metadata.xml in var/folders...itmsp is NOT well-formed
The package: 1123619127.itmsp will NOT be uploaded
Upvotes: 4
Views: 2365
Reputation: 13527
I managed to fix a similar issue by opening my target's "General" tab and deleting "336" from my build version and typing it in again.
You can clearly see where the error was when committing changes to your info.plist
file:
hint: no you can't!
Upvotes: 1
Reputation: 59
In my Info.plist file, I had placed the value 2.4.11 in key Bundle versions string, short and received the same error.
It appears that Apple XML validation does not accept the period character '.' in the Info.plist Bundle version key otherwise known as the Build Number in the Xcode Project view.
Upvotes: 0
Reputation: 13546
Go find the cause of error, you have to find xml file. Click View Log
and get full path.
Path usually starts as var\folders\0s\...
To find var folder, open Finder > Go to folder, Enter /var
. After navigating to .itmsp
file, right click on and select Show Package Contents
.
Open metadata.xml
using any text editor except TextEdit or xcode, since they won't ahow any special character present in the file. They usually escape it. I used Sublime Text. It showed me a special unicode being attached to app version anonymously, which was causing xml to be invalid.
Hope it helps!
Upvotes: 8
Reputation: 1625
In my case even I wasn't able to see special characters or white spaces what help to solve the problem me was to validate manually that XML.
Upvotes: 1