<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Scripting Bridge",
  "identifier" : "/documentation/ScriptingBridge/SBApplication/applicationWithBundleIdentifier:",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Scripting Bridge"
    ],
    "preciseIdentifier" : "c:objc(cs)SBApplication(cm)applicationWithBundleIdentifier:"
  },
  "title" : "applicationWithBundleIdentifier:"
}
-->

# applicationWithBundleIdentifier:

Returns the shared instance representing the target application specified by
its bundle identifier.

```
+ (SBApplication *) applicationWithBundleIdentifier:(NSString *) ident;
```

## Parameters

`ident`

A bundle identifier specifying an application that is OSA-compliant.

## Return Value

An instance of a `SBApplication` subclass that represents the
target application whose bundle identifier is `ident`. Returns `nil` if no
such application can be found or if the application does not have a
scripting interface.

## Discussion

For applications that declare themselves to have a dynamic scripting
interface, this method will launch the application if it is not already
running.

## See Also

[`-  initWithBundleIdentifier:`](/documentation/ScriptingBridge/SBApplication/init(bundleIdentifier:))

Returns an instance of an `SBApplication` subclass that represents the
target application identified by the given bundle identifier.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)