Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

While publish via Xcode: A downloaded software component is corrupted and will not be used

Tags:

xcode

macos

store

While trying to publish an iOS app via Xcode, and after passing most of validations, I received the following error:

A downloaded software component is corrupted and will not be used. https://contentdelivery.itunes.apple.com/transporter/repositories/j2se8/1.12.0/bundles/com.apple.transporter.mediatoolkit-1.12.0.jar

Actually, I'm running MacOS High Sierra on VMware

like image 512
Marwan Avatar asked Jan 07 '19 19:01

Marwan


2 Answers

Goto Terminal (command-line) and run this command. This command updates the components from Apple server.

"/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"

Output of command show: INFO: Transporter is searching for new software components. INFO: Downloading com.apple.transporter.mediatoolkit/1.13.0...

Try to publish app now. Should work.

like image 88
Suresh Kumar Shukla Avatar answered Oct 13 '22 01:10

Suresh Kumar Shukla


For Xcode 11 and above, Application loader is a separated app called Transporter

To update transporter components write this

/Applications/Transporter.app/Contents/itms/bin/iTMSTransporter

Note: If you encountered error like this

...
.......
<main>  INFO: indexing file: /Users/<YOUR USER>/Library/Caches/com.apple.amp.itmstransporter/obr/2.0.0/org.apache.tika.core-1.18.0.jar
<main>  INFO: indexing file: /Users/<YOUR USER>/Library/Caches/com.apple.amp.itmstransporter/obr/2.0.0/com.apple.transporter.aspera-linux-x64-3.9.1.2019-07-18-1737-EST.jar
<main>  INFO: indexing file: /Users/<YOUR USER>/Library/Caches/com.apple.amp.itmstransporter/obr/2.0.0/com.fasterxml.jackson.dataformat.jackson-dataformat-xml-2.9.6.jar
<main>  INFO: Update check complete.
<main> ERROR:   unsatisfied requirement: com.apple.transporter.mediatoolkit
<main> ERROR:        (&(package=com.apple.its.epubcheck)(version>=4.3.0)(!(version>=5.0.0)))
<main> ERROR:   unsatisfied requirement: com.apple.transporter.aspera-linux-x64
<main> ERROR:        (&(osgi.native.osname~=Linux)(osgi.native.processor~=x86-64))
<main> ERROR: could not find the service with interface (com.apple.transporter.osgi.TransporterService)

write this command

cd ~
mv .itmstransporter/ .old_itmstransporter/

Then repeat the first command

References: One Two

like image 27
Husam Avatar answered Oct 13 '22 01:10

Husam