<!--
{
  "documentType" : "article",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/identifying-an-app-s-containers",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "Identifying an App’s Containers"
}
-->

# Identifying an App’s Containers

Use Xcode’s Project navigator to find the identifiers of active CloudKit containers.

## Discussion

An app’s Xcode project manages which CloudKit containers are available to that app. When you write code that needs to provide container identifiers for all of the containers your app uses, reference the list of active containers in Xcode.

### Identify the Containers Your App Uses

In your app’s Xcode project, select Signing & Capabilities > iCloud in the Project navigator.

![A screenshot of an Xcode project’s Signing & Capabilities pane. The project contains the iCloud capability with the CloudKit option in a selected state. There are three custom CloudKit containers — app, docs, and settings — and each is in a selected state.](images/com.apple.cloudkit/media-3743337@2x.png)

After you identify the containers that your app uses, you can create instances of [`CKContainer`](/documentation/CloudKit/CKContainer) in your app and interact with CloudKit data.

```swift
// These constants correspond to the containers you configure for your
// target in your project's Signing & Capabilities tab.
let app = CKContainer(identifier: "iCloud.com.example.MyCloudKitApp.app")
let docs = CKContainer(identifier: "iCloud.com.example.MyCloudKitApp.docs")
let settings = CKContainer(identifier: "iCloud.com.example.MyCloudKitApp.settings")
```

---

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)