dhoer / chef-safari

Chef cookbook to configure Safari browser
https://www.apple.com/safari/
MIT License
0 stars 0 forks source link

System Events got an error: osascript is not allowed assistive access. (-25211) #2

Closed dhoer closed 8 years ago

dhoer commented 8 years ago

On xcode 6.4+, System Events got an error: osascript is not allowed assistive access. (-25211) error is thrown. Travis-ci has this these versions commented out for now.

Suspect gui login as travis is the issue. Tried adding the following to accessibility, but to no avail:

/System/Library/CoreServices/SystemUIServer.app
/System/Library/CoreServices/RemoteManagement/ARDAgent.app
/usr/bin/osascript
com.apple.RemoteDesktopAgent
/usr/libexec/sshd-keygen-wrapper
com.apple.Safari

I also tried creating safari user and logging into gui with that account but got the same results.

dhoer commented 8 years ago

No progress in getting solved. Any help would be appreciated...

dhoer commented 8 years ago

Apple has closed the door on automated installation of Safari extensions as of Safari 9.x. If the Safari 8 was installed or updated after Feb 2016, it too will have the extension-block in it.

https://macmule.com/2015/11/18/deploy-updating-safari-extensions-on-safari-9/