Login icloud via bash script
Hey all,
So I need to login to iCloud via a bash script for automated testing purposes. Does anybody know if this is possible to do? I have been unable to find any documentation on doing so.
MacBook Pro, iOS 11
Hey all,
So I need to login to iCloud via a bash script for automated testing purposes. Does anybody know if this is possible to do? I have been unable to find any documentation on doing so.
MacBook Pro, iOS 11
You can open an icloud.com login screen from the Terminal in a one-liner, but two hurdles immediately face you:
From the command-line:
osascript -e "tell application \"Safari\" to open location \"icloud.com\""
See that's the thing, to test Apple pay I have to login to iCloud on the system level. So logging in via Safari or a web browser wouldn't cut it 😟
Login icloud via bash script