xcrun altool Exception : Invalid checksum on resource download for Transporter

I build my Mac app bundle (***.dmg) with codesign (Develop Id app) and expect to upload to Apple service for noratize. But when I key in below in terminal of MacBook :
Code Block
sudo xcrun altool --notarize-app --primary-bundle-id "net.xxxx.xxxx" --username "*@*.com" --password "xxxxxxxxxxx" --file ./xxxx.dmg -itc_provider "xxxxxxxxxx"

After serveral minites, the terminal prompts up error messages below:

```

<main> INFO: Invalid checksum on resource download for: https://contentdelivery.itunes.apple.com/transporter/repositories/j2se8/2.1.0/bundles/org.xerial.sqlite-jdbc-3.27.2.1.jar expected: 0b2eff4ff050a1e6edb0dd0435de3ef5, received: 953ac82655db8339d34e544a923cf7c7
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.apple.transporter.launcher.Application.start(Application.java:212)
at com.apple.transporter.launcher.Application.main(Application.java:642)
Caused by: com.apple.transporter.bootstrap.BundleNotFoundException: bundle=[org.xerial.sqlite-jdbc] version=[3.27.2.1,4.0.0) not found.
at com.apple.transporter.bootstrap.BootstrapperPhase1.downloadNeededBundles(BootstrapperPhase1.java:267)
at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:97)
at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:59)
at com.apple.transporter.launcher.Launcher.launchBootstrapper(Launcher.java:37)
... 6 more
Out:

  • ** Error: An error occurred uploading to Apple Services.


```


From the log, it seems download org.xerial.sqlite-jdbc-3.27.2.1.jar error when we launch transporter from Xcode. My Xcode version is 10.1 and my PC is MacBook Air (early 2015) with Mac OS 10.13.6 .

I have digged out solutions from Internet, and some suggestions point out that I should download newest Transporter from Mac AppStore directly. I follow the suggestion and find that newest Tranporter UI supports only IPA and PKG rather than dmg. And I also have no idea how to change the transporter reference of XCode into the newest transporter.

Anyone gives some advices to move forward?

Answered by DTS Engineer in 668806022
I suspect that the best way out of this jam is to installer a newer version of macOS on your Mac (AFAIK that hardware supports the latest version of macOS) and from there a newer version of Xcode. macOS 10.13.6 is very old, especially from a notarisation perspective.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Accepted Answer
I suspect that the best way out of this jam is to installer a newer version of macOS on your Mac (AFAIK that hardware supports the latest version of macOS) and from there a newer version of Xcode. macOS 10.13.6 is very old, especially from a notarisation perspective.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Thanks , @eskimo . I update it to macOs 10.15.4 , now new Xcode works. thanks.

xcrun altool Exception : Invalid checksum on resource download for Transporter
 
 
Q