HipByte / motion-appstore

A RubyMotion plugin to provide 'validate' and 'upload' commands for iTunes Connect.
MIT License
52 stars 12 forks source link

Password error #1

Closed squidpunch closed 9 years ago

squidpunch commented 9 years ago

found this gem and looking forward to being able to use it. I noticed the following error when trying to validate my build, am I missing a step?

Validate: ./build/iPhoneOS-7.1-Release/Hello 200.ipa
Enter your password: 
altool: option requires an argument -- p
2015-01-05 15:34:34.298 altool[86916:10649385] *** Error: Must provide username and/or password.
Watson1978 commented 9 years ago

This plugin uses Application Loader's tool which require a password to login Apple developer center.

1) If you would add an account in Xcode's preference, this plugin retrives a password from keychain which was created by Xcode. if missing a keychain with some reason, you can remove and add account into Xcode's preference, then keychain will be created. 2) if it can't a password in keychain, you can input a password in terminal prompt which you met. You should input a valid password to login Apple developer center.

Watson1978 commented 9 years ago

Maybe, I need some test case more. Can you tell me your Xcode version and your inputted command (i.e. account name) ?

Watson1978 commented 9 years ago

I found a bug, maybe, it might be related to your problem. https://github.com/Watson1978/motion-appstore/commit/a7e53493876d6dc71af44d595ea897c23cc194e1

Could you try with master changing?

squidpunch commented 9 years ago

@Watson1978 :+1: that seems to be it, thanks so much, this gem is awesome!

squidpunch commented 9 years ago

working with the changes suggested in master

Watson1978 commented 9 years ago

Thank you for your confirming. I will release new version which has the changing :)