Returns the shared instance representing the target application specified by its bundle identifier.
- macOS 10.5+
A bundle identifier specifying an application that is OSA-compliant.
An instance of a
SBApplication subclass that represents the target application whose bundle identifier is
nil if no such application can be found or if the application does not have a scripting interface.
For applications that declare themselves to have a dynamic scripting interface, this method will launch the application if it is not already running.