---
title: "applicationWithBundleIdentifier:"
framework: Scripting Bridge
role: symbol
role_heading: Type Method
platforms: [Mac Catalyst 13.0+, macOS 10.5+]
path: "scriptingbridge/sbapplication/applicationwithbundleidentifier:"
---

# applicationWithBundleIdentifier:

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

## Declaration

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

## Parameters

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

## Return Value

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

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

### Related Documentation

- [init(bundleIdentifier:)](scriptingbridge/sbapplication/init(bundleidentifier:).md)

### Getting a Scriptable Application Instance

- [applicationWithProcessIdentifier:](scriptingbridge/sbapplication/applicationwithprocessidentifier:.md)
- [applicationWithURL:](scriptingbridge/sbapplication/applicationwithurl:.md)
