Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application Loader Error: XML Parsing Error has occurred

The essence of the problem:

  1. When you download the application on the AppStore through organizer, immediately after the step of forming an archive application, it throws this error.
  2. The name of the application without special characters.
  3. The Info.plist file hasn't special characters and spaces.

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

Image with problem

like image 898
Dima Shvets Avatar asked Dec 24 '22 21:12

Dima Shvets


1 Answers

Go find the cause of error, you have to find xml file. Click View Log and get full path.

enter image description here

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.

enter image description here

Hope it helps!

like image 139
NightFury Avatar answered Dec 29 '22 23:12

NightFury