# How to get the bundle identifier

> Find the Bundle Identifier for your iOS application.

Source: https://docs.grovs.io/docs/how-to-guides/ios/bundle-identifier

Grovs needs it to configure the SDK and Universal Links.

**Xcode**

### 1. Select your app target

Click the project file at the top of the Project Navigator, then select your app target.

### 2. Open the General tab

Open the **General** tab.

### 3. Copy the bundle identifier

Copy the **Bundle Identifier** field in the **Identity** section.

**Info.plist**

### 1. Open Info.plist

Open `Info.plist` from the Project Navigator.

### 2. Copy CFBundleIdentifier

Copy the value of the `CFBundleIdentifier` key.

**Swift Code**

### 1. Read Bundle.main.bundleIdentifier

Print it at runtime. It returns an optional `String?`:

```swift
let bundleIdentifier = Bundle.main.bundleIdentifier
print("Bundle Identifier: \(String(describing: bundleIdentifier))")
```

> **Note:** Bundle Identifiers usually use reverse domain notation, such as `com.example.myapp`.
