HipByte / motion-appstore

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

Issue & Solution when using iCloud keychain #3

Open caramdache opened 9 years ago

caramdache commented 9 years ago

Dear Watson, It would be good to add this to the README. It took me a while to figure out I could avoid typing my password every time. Caram

"motion-store does automatically fetch the password from the keychain. However, if you are using the iCloud keychain, it cannot access the password. You can then add the password manually as follows:

security add-internet-password -a <your-email-address> -j default -r http -s idmsa.apple.com -w <your-password> -T /usr/bin/security
caramdache commented 9 years ago

Oops, protocol should be 'https':

security add-internet-password -a <your-email-address> -j default -r htps -s idmsa.apple.com -w <your-password> -T /usr/bin/security
Watson1978 commented 9 years ago

Could you please send us pull request instead of this ticket?

Watson1978 commented 9 years ago

Thank you for pull request #4 . Merged it :)

caramdache commented 9 years ago

You’re welcome.

If you like GUI, you can add your password into the keychain by adding account via Xcode [Preferences...]->[Accounts] configuration.

… except that if you use iCloud keychain, /usr/bin/security cannot access the password because the access control is restricted to com.apple.cfnetwork and cannot be changed (see below). So, even though my account is listed in Xcode in the [Preferences]->[Accounts], this is not enough.

Le 20 févr. 2015 à 10:16, Watson notifications@github.com a écrit :

Thank you for pull request #4 https://github.com/HipByte/motion-appstore/pull/4 . Merged it :)

— Reply to this email directly or view it on GitHub https://github.com/HipByte/motion-appstore/issues/3#issuecomment-75209327.

Watson1978 commented 9 years ago

Hmm, I also turned on iCloud keychain. Xcode creates keychain item which indicate idmsa.apple.com, and Safari also creates when login Apple developer site.