Juste après la mise à niveau vers Xcode 9, j'essayais de télécharger mon application et j'ai obtenu cette erreur:
iTunes Store Operation Failed
An error occurred uploading to the iTunes Store.
Aucune erreur n'a été spécifiée. Je ne pouvais pas trouver une rumeur pour ce qui n'allait pas.
J'ai donc exporté l'IPA et utilisé Application Loader (Xcode-> Open Developer Tool-> Application Loader).
Cette fois, j'ai reçu un tas de messages très étranges:
An error occurred while starting bundles for the software update process. Transporter will try to continue. Unresolved constraint in bundle com.Apple.transporter.asperasupport [5]: Unable to resolve 5.0: missing requirement [5.0] package; (&(package=com.Apple.transporter.transport.service)(version>=1.9.6)(version<=1.9.6)) [caused by: Unable to resolve 8.0: missing requirement [8.0] package; (&(package=org.springframework.util.backoff)(version>=4.1.0)(!(version>=5.0.0)))]
An error occurred while starting bundles for the software update process. Transporter will try to continue. Unresolved constraint in bundle com.Apple.transporter.asperasupport [6]: Unable to resolve 6.0: missing requirement [6.0] package; (&(package=com.Apple.transporter.transport.service)(version>=1.9.3)(version<=1.9.3)) [caused by: Unable to resolve 9.0: missing requirement [9.0] package; (&(package=com.Apple.iTunes.epubtoolkit)(version>=1.0.4)(version<=1.0.4))]
An error occurred while starting bundles for the software update process. Transporter will try to continue. Unresolved constraint in bundle com.Apple.transporter.commlink [7]: Unable to resolve 7.0: missing requirement [7.0] package; (&(package=com.Apple.transporter.foundation)(version>=1.9.6)(version<=1.9.6)) [caused by: Unable to resolve 8.0: missing requirement [8.0] package; (&(package=org.springframework.util.backoff)(version>=4.1.0)(!(version>=5.0.0)))]
An error occurred while starting bundles for the software update process. Transporter will try to continue. Unresolved constraint in bundle com.Apple.transporter.itmstransporter [8]: Unable to resolve 8.0: missing requirement [8.0] package; (&(package=org.springframework.util.backoff)(version>=4.1.0)(!(version>=5.0.0)))
An error occurred while starting bundles for the software update process. Transporter will try to continue. Unresolved constraint in bundle com.Apple.transporter.itmstransporter [9]: Unable to resolve 9.0: missing requirement [9.0] package; (&(package=com.Apple.iTunes.epubtoolkit)(version>=1.0.4)(version<=1.0.4))
An error occurred while starting bundles for the software update process. Transporter will try to continue. Unresolved constraint in bundle com.Apple.transporter.mediatoolkit [12]: Unable to resolve 12.0: missing requirement [12.0] package; (&(package=com.Apple.iTunes.epubtoolkit)(version>=1.0.4)(version<=1.0.4))
An error occurred while starting bundles for the software update process. Transporter will try to continue. Unresolved constraint in bundle com.Apple.transporter.softwaresupport [13]: Unable to resolve 13.0: missing requirement [13.0] package; (&(package=com.Apple.transporter.log)(version>=1.9.6)(version<=1.9.6)) [caused by: Unable to resolve 8.0: missing requirement [8.0] package; (&(package=org.springframework.util.backoff)(version>=4.1.0)(!(version>=5.0.0)))]
An error occurred while starting bundles for the software update process. Transporter will try to continue. Unresolved constraint in bundle com.Apple.transporter.softwaresupport [14]: Unable to resolve 14.0: missing requirement [14.0] package; (&(package=com.Apple.jingle.leghorn.fileformat)(version>=1.9.3)(version<=1.9.3)) [caused by: Unable to resolve 12.0: missing requirement [12.0] package; (&(package=com.Apple.iTunes.epubtoolkit)(version>=1.0.4)(version<=1.0.4))]
An error occurred while starting bundles for the software update process. Transporter will try to continue. Unresolved constraint in bundle com.Apple.transporter.updater [15]: Unable to resolve 15.0: missing requirement [15.0] package; (&(package=com.Apple.transporter.log)(version>=1.9.6)(version<=1.9.6)) [caused by: Unable to resolve 8.0: missing requirement [8.0] package; (&(package=org.springframework.util.backoff)(version>=4.1.0)(!(version>=5.0.0)))]
An error occurred while starting bundles for the software update process. Transporter will try to continue. Unresolved constraint in bundle com.Apple.transporter.updater [16]: Unable to resolve 16.0: missing requirement [16.0] package; (&(package=com.Apple.transporter.log)(version>=1.9.3)(version<=1.9.3)) [caused by: Unable to resolve 9.0: missing requirement [9.0] package; (&(package=com.Apple.iTunes.epubtoolkit)(version>=1.0.4)(version<=1.0.4))]
An error occurred while trying to start the updater service. Exception's name: Java.lang.NullPointerException, Exception's message: serviceReferences parameter cannot be null
An error occurred while trying to start transporter. Exception's name: Java.lang.NullPointerException, Exception's message: serviceReferences parameter cannot be null
Que peut-on faire pour le résoudre?
Cette histoire a une fin heureuse!
J'essayais de nombreuses solutions sur différents forums, mais celle qui a fait l'affaire était très simple:
Ouvrez le terminal et exécutez ces commandes:
cd ~
mv .itmstransporter/ .old_itmstransporter/
Certaines mises à jour de MacOs et iTunes étaient en attente dans l'App Store. Je viens de les mettre à jour et le problème a été résolu pour moi.