rubymotion-community / motion-provisioning

Simplified provisioning for RubyMotion iOS, tvOS and macOS apps.
Other
46 stars 20 forks source link

Error provisioning #19

Closed mark-watson closed 5 years ago

mark-watson commented 7 years ago

I get an SMS message to OK login, but before I can respond, the rake task errors out (I changed my email to dummy value MYACCOUNT before pasting the following):

$ rake Couldn't verify that spaceship is up to date Info Logging into the Developer Portal with email 'MYACCOUNT@mac.com'. rake aborted! Invalid 2 step response {"trustedPhoneNumbers"=>[{ ... STUFF DELETED HERE ...}} /usr/local/lib/ruby/gems/2.4.0/gems/spaceship-0.39.0/lib/spaceship/two_step_client.rb:41:in handle_two_step' /usr/local/lib/ruby/gems/2.4.0/gems/spaceship-0.39.0/lib/spaceship/client.rb:316:insend_shared_login_request' /usr/local/lib/ruby/gems/2.4.0/gems/spaceship-0.39.0/lib/spaceship/portal/portal_client.rb:13:in send_login_request' /usr/local/lib/ruby/gems/2.4.0/gems/spaceship-0.39.0/lib/spaceship/client.rb:430:indo_login' /usr/local/lib/ruby/gems/2.4.0/gems/motion-provisioning-0.0.7/lib/motion-provisioning.rb:69:in client' /usr/local/lib/ruby/gems/2.4.0/gems/motion-provisioning-0.0.7/lib/motion-provisioning/certificate.rb:6:inclient' /usr/local/lib/ruby/gems/2.4.0/gems/motion-provisioning-0.0.7/lib/motion-provisioning/certificate.rb:39:in certificate_name' /usr/local/lib/ruby/gems/2.4.0/gems/motion-provisioning-0.0.7/lib/motion-provisioning.rb:206:incertificate' /Users/markw/BITBUCKET/ios_cookingspace/Rakefile:23:in block (2 levels) in <top (required)>' /Library/RubyMotion/lib/motion/project/config.rb:202:indevelopment' /Users/markw/BITBUCKET/ios_cookingspace/Rakefile:21:in block in <top (required)>' /Library/RubyMotion/lib/motion/project/config.rb:121:inblock in setup' /Library/RubyMotion/lib/motion/project/config.rb:121:in each' /Library/RubyMotion/lib/motion/project/config.rb:121:insetup' /Library/RubyMotion/lib/motion/project/app.rb:66:in config' /Library/RubyMotion/lib/motion/project/template/ios.rb:156:inblock in <top (required)>' /usr/local/lib/ruby/gems/2.4.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>' Tasks: TOP => default => simulator

Youngv commented 7 years ago

same error

mipmip commented 7 years ago

same here

nickyhajal commented 7 years ago

Hitting this issue as well - any way around it?

amirrajan commented 7 years ago

Possibly related?

If you want to upload builds to TestFlight/iTunes Connect from your CI machine, you need to generate an application specific password:

Visit appleid.apple.com/account/manage Generate a new application specific password Provide the application specific password using the environment variable FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD

thbar commented 7 years ago

@amirrajan I tried that but I'm still facing the error reported by @mark-watson.

andrewhavens commented 6 years ago

This should be fixed now in version 1.0.0.