xcode-install icon indicating copy to clipboard operation
xcode-install copied to clipboard

xcversion list fails with send_shared_login_request (Spaceship::Tunes::Error)

Open KatekovAnton opened this issue 7 years ago • 5 comments

After running

xcversion list

and entering my login I was allways receiving following error:

	16: from /usr/local/bin/xcversion:23:in `<main>'
	15: from /usr/local/bin/xcversion:23:in `load'
	14: from /usr/local/lib/ruby/gems/2.5.0/gems/xcode-install-2.4.0/bin/xcversion:12:in `<top (required)>'
	13: from /Users/anton.katekov/.gem/ruby/2.5.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
	12: from /usr/local/lib/ruby/gems/2.5.0/gems/xcode-install-2.4.0/lib/xcode/install/list.rb:13:in `run'
	11: from /usr/local/lib/ruby/gems/2.5.0/gems/xcode-install-2.4.0/lib/xcode/install.rb:300:in `list'
	10: from /usr/local/lib/ruby/gems/2.5.0/gems/xcode-install-2.4.0/lib/xcode/install.rb:406:in `list_versions'
	 9: from /usr/local/lib/ruby/gems/2.5.0/gems/xcode-install-2.4.0/lib/xcode/install.rb:199:in `seedlist'
	 8: from /usr/local/lib/ruby/gems/2.5.0/gems/xcode-install-2.4.0/lib/xcode/install.rb:370:in `fetch_seedlist'
	 7: from /usr/local/lib/ruby/gems/2.5.0/gems/xcode-install-2.4.0/lib/xcode/install.rb:330:in `spaceship'
	 6: from /Users/anton.katekov/.gem/ruby/2.5.0/gems/fastlane-2.89.0/spaceship/lib/spaceship/portal/spaceship.rb:95:in `login'
	 5: from /Users/anton.katekov/.gem/ruby/2.5.0/gems/fastlane-2.89.0/spaceship/lib/spaceship/portal/spaceship.rb:25:in `login'
	 4: from /Users/anton.katekov/.gem/ruby/2.5.0/gems/fastlane-2.89.0/spaceship/lib/spaceship/client.rb:71:in `login'
	 3: from /Users/anton.katekov/.gem/ruby/2.5.0/gems/fastlane-2.89.0/spaceship/lib/spaceship/client.rb:358:in `login'
	 2: from /Users/anton.katekov/.gem/ruby/2.5.0/gems/fastlane-2.89.0/spaceship/lib/spaceship/client.rb:653:in `do_login'
	 1: from /Users/anton.katekov/.gem/ruby/2.5.0/gems/fastlane-2.89.0/spaceship/lib/spaceship/portal/portal_client.rb:27:in `send_login_request'
/Users/anton.katekov/.gem/ruby/2.5.0/gems/fastlane-2.89.0/spaceship/lib/spaceship/client.rb:469:in `send_shared_login_request': {"authType"=>"hsa2"} (Spaceship::Tunes::Error)
aa=....; Domain=idmsa.apple.com; Path=/; Secure; HttpOnly, dslang=US-EN; Domain=apple.com; Path=/; Secure; HttpOnly, site=USA; Domain=apple.com; Path=/; Secure; HttpOnly, acn01=.....==; Max-Age=...; Expires=... GMT; Domain=apple.com; Path=/; Secure; HttpOnly

Deleting folder

/Users/me/.fastlane/spaceship/[email protected]

fixed the problem

KatekovAnton avatar Jun 06 '18 01:06 KatekovAnton

Thanks for the tip. Unfortunately deleting the folder didn't do the trick for me. Still getting the error

absolute-heike avatar Jun 06 '18 12:06 absolute-heike

Can you confirm which version of fastlane (spaceship) you are using?

This could be an issue around the new Apple ID and privacy acknowledgement statement fix in here

2.96.0 Improvements and fix for Apple login error
* [spaceship] fix for handling Apple's new Apple ID and Privacy statement (#12578) via Josh Holtz

I updated this morning to 2.97.0 which gave me the sensible error message

/Library/Ruby/Gems/2.3.0/gems/fastlane-2.97.0/spaceship/lib/spaceship/client.rb:472:in `send_shared_login_request': Need to acknowledge to Apple's Apple ID and Privacy statement. Please manually log into https://appleid.apple.com (or https://itunesconnect.apple.com) to acknowledge the statement. (Spaceship::AppleIDAndPrivacyAcknowledgementNeeded)

After manually logging into https://appleid.apple.com and agreeing the issue was fixed.

ajmccall avatar Jun 08 '18 09:06 ajmccall

@ajmccall please check:

fastlane installation at path:
/usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.97.0/bin/fastlane
-----------------------------
[✔] 🚀
fastlane 2.97.0

KatekovAnton avatar Jun 10 '18 10:06 KatekovAnton

Same error, just updated to 2.4 but it didn't help. After updating fastlane it says: Need to acknowledge to Apple's Apple ID and Privacy statement. Please manually log into https://appleid.apple.com

pronebird avatar Jun 14 '18 15:06 pronebird

@pronebird well that error message pretty much says what will fix the problem 😉

KrauseFx avatar Jun 14 '18 15:06 KrauseFx