Xcode 12.5 deploy: An error occurred uploading to the App Store - xcode

I get this error when deploying with Xcode 12.5 at the final step, while uploading:
App Store Connect Operation Error
An error occurred uploading to the App Store.
There's no further description nor can I find anything about it.
None of the fixes I found on older posts helped on this one.
When I execute ./iTMSTransporter -version here /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/bin I get this error:
java.io.IOException: Server returned HTTP response code: 502 for URL: https://contentdelivery.itunes.apple.com/transporter/lib/osgibootstrapper.jar
Not sure if that has anything to do with it...
How can I fix this or where can I find more information on this error?

Faced the same issue today. I have completely clean the Derived Data and other Developer cache files and started from the beginning (Archive + Upload). This solved the problem.
Also, the first build failed because I ran out of disk space but this is maybe not related to the issue.

What works for me:
Create archive with Xcode 12.5
Quit Xcode 12.5
Open Xcode 13
Open Organizer and upload archive

Related

iTMSTransporter "Error accessing file" after upgrade to Catalina

After upgrading macOS to Catalina the HOME directory changed from /Local/Users/jenkins to /Users/jenkins and now iTMSTransporter is failing with the following error (clearly still referencing the old HOME directory):
<Equinox Log Thread - Equinox Container: 471f1643-7038-4059-ab8e-14636d149eec> ERROR: Resolver: Install error - org.apache.httpcomponents.httpcore Exception's name: java.io.IOException, Exception's message: Error accessing file:/Local/Users/jenkins/Library/Caches/com.apple.amp.itmstransporter/obr/2.0.0/org.apache.httpcomponents.httpcore-4.4.11.jar
[2020-04-23 13:08:48 EDT] <main> ERROR: could not find the service with interface (com.apple.transporter.osgi.TransporterService)
I stumbled on this issue via fastlane which I reinstalled. I've done a lot of searching and tried a lot of things, e.g. installed the new Transporter app from Mac App Store and ran it from there, updated to the latest Xcode. No luck. Please help!
I was able to solve this by deleting the following pesky file which had the invalid directory reference:
./System/Volumes/Data/Users/jenkins/Library/Caches/com.apple.amp.itmstransporter/obr/2.0.0/repository.xml
I noticed INFO: using cached repository.xml file so I searched for that file.

Connection terminated during handshake flutter

It's really frustrating, wasted 3 days to get rid of but still on stuck problem showing on macos catalina version 10.15.1 and windows 7 also. My two PC's showing same error. First when i tried to 'get packages'
it's showing this '/Users/mamun/Developer/flutter/bin/flutter --no-color packages get
Waiting for another flutter command to release the startup lock...'
after few moments it's showing..
'/Users/mamun/Developer/flutter/bin/flutter --no-color packages get
Running "flutter pub get" in flutterx...
Connection terminated during handshake
pub get failed (server unavailable) -- attempting retry 1 in 1 second...
Connection terminated during handshake
pub get failed (server unavailable) -- attempting retry 2 in 2 seconds...,
tried this Waiting for another flutter command to release the startup lock
& https://github.com/dart-lang/pub/issues/1729 also.
This is a country-specific problem. In some countries, you got this error like Bangladesh and some African countries. I got a solution to this problem, that is use VPN software when you want to get Packages. VPN software uses other country's IP addresses where this google service works perfectly, So you can easily download packages.
Fixed the issue, my Local Isp blocked pub.dartlang.org that's why it happens.
Use vpn.
If you are not using not prepackaged packages:
stop the process with "ctrl + c"
and try it on project location:
flutter pub get --offline
Use VPN. Or download package from github.
dependencies:
flutter:
sdk: flutter
carousel_pro:
git:
url: https://github.com/jlouage/flutter-carousel-pro.git
ref: master
detailed answer is here:
I was using Hotspot VPN when I faced this issue. Disabling the hotspot worked for me. You can check by disabling any HotSpot or VPN.
Download the stable version instead of the clone via git:
C:\src>git clone https://github.com/flutter/flutter.git -b stable)

Cannot start docker on mac - Fatal Error - The operation couldn't be completed. (Docker.VmnetdError error 1.)

When I installing the docker for Mac, I got the Fatal Error - The operation couldn't be completed. (Docker.VmnetdError error 1.)
That issue came because of the, image file directly opening. you can drag the docker image and drop in to the Applications and after that open the Docker.app from the Applications folder. Solves the issue😀
My Docker.app was already in the Applications folder but I still got the error The operation couldn't be completed. (Docker.VmnetdError error 1.) when trying to open it. What solved it for me was resetting docker by clicking the Reset Docker to factory defaults.
I had this issue for weeks, upgrading to Version 3.0.0 resolved this issue. I
downloaded it and it opens straight away no errors.
Another error i was seeing

Nativescript Sidekick Publish to App Store

I'm running Sidekick on my Windows 10 machine (64b).
I'm trying to publish my app to the Apple AppStore.
Certificate, provision is all ok.
When I publish, build is made, I can log in when asked and fill in the verication code.
But then I get error 'Spawn Failed'. Googled this error, but didn't find anything.
Erros in the log are:
[19-03-08 10:52:20.711] (CLI) Build machine host name:
administrators-Mac-16.local
[19-03-08 10:52:58.349] Spawn failed.
, Error: Spawn failed.
at CloudPublishService.getiOSError (C:\Users\bartad\AppData\Roaming.nativescript-cli\extensions\node_modules\nativescript-cloud\lib\services\cloud-publish-service.js:79:21)
at CloudPublishService.
(C:\Users\bartad\AppData\Roaming.nativescript-cli\extensions\node_modules\nativescript-cloud\lib\services\cloud-publish-service.js:96:29)
at Generator.next ()
at fulfilled
(C:\Users\bartad\AppData\Roaming.nativescript-cli\extensions\node_modules\nativescript-cloud\lib\services\cloud-publish-service.js:4:58)
at
Does anyone have an idea what's wrong here ?
Thanks
Bart
Issues I encountered:
1) Provisioning was not right. Went back through and checked that each step is for a Distribution certificate and profile, not a development profile.
2) I assumed that tns resources generate would create my icons and splashes. It did, but Sidekick ignores them. You must recreate them in Sidekick.

"Failed to connect to repository" in Jenkins on OSX to GitHub

Getting this error when setting up my GitHub repo in Jenkins on a OS X machine.
Failed to connect to repository : Command "git ls-remote -h https://github.com/username/repo.git HEAD" returned status code 128:
stdout:
stderr: fatal: unable to access 'https://github.com/username/repo.git/': Internal SSL engine error encountered during the SSL handshake
This has been working before and I've been running build successfully connected to this repo but all of a sudden I started to get this message. Does anybody have any idea?
Thanks
PS. Have looked at the other related questions but they don't have the exact same issue and/or are not on the same platform as me.
I think I found what the issue was. I logged into the mac machine with a certain user and started the jenkins.war file from there. It worked fine until I logged out the user, that's when I started to see the problem and why I resolved it by restarting the computer. So as long as I am not logging out the jenkins user, everything is fine.

Resources