Hi there,
We are seeing intermittent time outs when uploading an ipa with altool. The app uploads correctly if we export manually via Xcode and it works 50% of the time via our CI build server, both on the same Mac mini.
This issue only appeared within the last 2 weeks or so and was happening on Xcode 12 too.
We are using this command:
/usr/bin/xcrun altool --upload-app -f "build/APPNAME.ipa" -t ios -u "username" -p "password" --show-progress
We get the following failure:
Beginning delivery...
Analyzing package…
Requesting app information…
Requesting asset description upload id…
Sending analysis to the App Store…
Waiting for response…
*** Error: *** uploadSwinfoFile: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x7f8e84e33610 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <8F04B1FB-7A44-4CB0-907A-35BF3E9A8D2D>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <8F04B1FB-7A44-4CB0-907A-35BF3E9A8D2D>.<1>"
), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://contentdelivery.itunes.apple.com/MZContentDeliveryService/iris/provider/69a6de7a-e676-47e3-e053-5b8c7c11a4d1/v1/buildDeliveryFiles/ab3f84be-5758-4b1e-82b3-e05bd5984d23, NSErrorFailingURLKey=https://contentdelivery.itunes.apple.com/MZContentDeliveryService/iris/provider/69a6de7a-e676-47e3-e053-5b8c7c11a4d1/v1/buildDeliveryFiles/ab3f84be-5758-4b1e-82b3-e05bd5984d23, _kCFStreamErrorDomainKey=4}
*** Error: Error uploading 'build/APPNAME.ipa'.
*** Error: The request timed out. (-1001)
We cannot workout why we get this failure as it appears to be on the API contentdelivery.itunes.apple.com side.
Could anyone at Apple help shed some light on this please?
Versions:
altool version: 4.071.1221
Xcode Version 13.2.1 (13C100
macOS Big Sur 11.6.1 (20G224)```