Can no longer upload hosted content

So last night I added screenshots etc to my app as it's nearly ready for review. I did need to make an update to an item that is hosted with apple so I changed the item, and archived the package but in application loader when I try to upload the updated purchase content I get a line of errors:


ERROR ITMS-3000: "Line 106 column 97: value of attribute "display_target" is invalid; must be equal to "Mac", "iOS-3.5-in", "iOS-4-in", "iOS-4.7-in", "iOS-5.5-in", "iOS-Apple-Watch" or "iOS-iPad" at XPath /package/software/software_metadata/versions/version/locales/locale/software_screenshots/software_screenshot[17]"


They all are more or less that with a different line number. I have no idea what to do to fix this.

I am having a similar problem.


I have successfully uploaded about 30 in-app purchase packages of Apple-hosted content using Application Loader, targeting an iOS app. However, once I added 5 iPad Pro screenshots to my iOS app description in iTunesConnect, I get 5 ITMS-3000 errors that reference these screenshots. Here is one example:


ERROR: ERROR ITMS-3000: "Line 107 column 97: value of attribute "display_target" is invalid; must be equal to "Mac", "iOS-3.5-in", "iOS-4-in", "iOS-4.7-in", "iOS-5.5-in", "iOS-Apple-Watch" or "iOS-iPad" at XPath/package/software/software_metadata/versions/version/locales/locale/software_screenshots/software_screenshot[10]"


I submitted a full report with screenshots and an Application Loader log file to the support people at iTunesConnect. After speaking with 3 different people during the course of nearly a week, I was directed to submit a support request to Apple Developer Technical Support.


I got a reply within hours from ADTS directing me to submit a bug report instead, which I have done today. I am now awaiting a reply.


From where I sit, this appears to be an error with Application Loader and iTunesConnect. Application Loader grabs most or all of the meta data from my app's record in iTunesConnect, downloads it, and adds it to a plist that becomes part of the package that is uploaded to iTunesConnect. I found one good hint for a workaround at StackOverFlow:



http://stackoverflow.com/questions/34275875/unable-to-upload-in-app-purchase-hosted-content-using-application-loader



I tried this once and successfully uploaded my in-app purchase content. The result was that my iPad Pro screenshots disappears from the account iTunesConnect. Once I restored the screenshots, the ITMS-3000 error came back.

I want to correct one thing that I said and add additional information.


The problem is an XML file (not a plist) called "metadata.xml" which is found inside the ITMSP file that Application Loader creates and attempts to send to the iTunesConnect Server. This file contains the meta data from the app record, including screen-shot information.


In my case, we posted 5 regular iPad screenshots with our app and 5 iPad Pro screenshots. The iPad Pro screenshots do not appear in the App Store when you view our product. However, this ITMSP file knows that the files are in our app record in iTunesConnect.


This evening, I attempted to delete the offending lines of the metadata.xml file. This technique worked for me back in December when our app had not yet been submitted for approval. Now that our app has been approved for sale, my hack no longer works. I now get an error message saying the the screenshots cannot be changed:


Error ITMS-4029: "Version '1.0', Locale 'en-US': software_screenshots cannot be edited in the current state" at Software/SoftwareMetadata/SoftwareVersion/SoftwareVersionLanguageDetail


Unless Apple acknowledges and fixes the problem, it appears that I cannot upload in-app purchase content until I submit a new version of our app without iPad Pro screenshots. Ugh!

I have the same problem with the Application Loader contained in Xcode 7. If you use an application loader form on older version of Xcode (is still had an Xcode 5.x on my disk) you will not encounter this problem, at least with version 2.9.1 I had no problems uploading an in-app purchase.

Excuse my typing errors. Same text with no (at least less) errors:


I have the same problem with the Application Loader contained in Xcode 7. If you use an application loader from an older version of Xcode (I still had an Xcode 5.x on my disk) you will not encounter this problem, at least with version 2.9.1 I had no problems uploading an in-app purchase.

I found that if I deleted the whole "software_screenshots" tags (note the plural) then it didn't make any changes to the screenshots, but I could still upload without any errors.


Luckily it doesn't delete all of the screenshots if the tag doesn't exist it, whereas it does modify them if it exists and not all the screenshots are present.

Can no longer upload hosted content
 
 
Q