Closed wndxlori closed 8 years ago
Thanks for the report!
I'll look into it and post back here.
@wndxlori could you try the two-step-login branch and see if it solves the issue?
https://github.com/HipByte/motion-provisioning/tree/two-step-login
I tried to enable two step auth in my account but it would not let me for some reason :(
Got the same error, then i try the branch two-step-login, get the error below
Info Your Apple ID email: xxxxxxxxxxxxx@gmail.com
Info Do you want to save the email to the config file ('provisioning/config.yaml') so you dont have to type it again? (Y/n): n
The login information you enter will be stored safely in the macOS keychain.
Info Password for #<MotionProvisioning::Utils::Answer:0x007fcebc9ebe60>: **********
rake aborted!
NoMethodError: undefined method `shellescape' for #<MotionProvisioning::Utils::Answer:0x007fcebc9ebe60>
@Youngv I made a fix if you want to use it: https://github.com/HipByte/motion-provisioning/pull/6
@dam13n I use your forked repo with master branch, still have the same error as I posted above, I use a free apple developer account, does that bother?
@Youngv I'm not sure what works with a free developer account, sorry. However, I'm surprised you'd get the same error if you are using my fork since the emails
variable is no longer a MotionProvisioning::Utils::Answer
object.
@Youngv your error should be fixed with @dam13n's PR.
@dam13n free accounts are indeed supported.
This issue is about 2factor auth support. I need to wait 3 days to enable 2factor auth in my account, then I will look into this issue again.
When I ran
rake device
after setting up the gem, I got this errorAfter I disabled two step verification, I was able to successfully finish the provisioning setup process.