Created
November 25, 2018 08:44
-
-
Save diamantidis/c688cc192d9d525248f55da6602fb4ad to your computer and use it in GitHub Desktop.
Applescript "script" to download provision profiles from Xcode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
activate application "Xcode" | |
tell application "System Events" | |
tell process "Xcode" | |
keystroke "," using command down | |
click button "Accounts" of toolbar 0 of window 0 | |
delay 1 | |
repeat with account_row in rows of table 0 of scroll area 0 of window 0 | |
select account_row | |
delay 1 | |
repeat with aButton in buttons of window 0 | |
if title of aButton starts with "Download Manual Profiles" then click aButton | |
end repeat | |
end repeat | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment