Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/platforms/apple/common/install/cocoapods.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar_order: 2000
---

<Alert level="warning" title="Deprecated">
We will stop publishing to CocoaPods at the end of June 2026. We recommend migrating to <PlatformLink to="/install/swift-package-manager/">Swift Package Manager (SPM)</PlatformLink> or manually installing the [pre-built XCFramework from GitHub releases](https://github.com/getsentry/sentry-cocoa/releases).
We will stop publishing to CocoaPods at the end of June 2026. We recommend migrating to <PlatformLink to="/install/swift-package-manager/">Swift Package Manager (SPM)</PlatformLink> or manually installing the [pre-built XCFramework from GitHub releases](https://github.com/getsentry/sentry-cocoa/releases). All versions published before that date will remain available on CocoaPods.
</Alert>

To integrate Sentry into your Xcode project using CocoaPods, specify it in your _Podfile_:
Expand Down
7 changes: 4 additions & 3 deletions docs/platforms/apple/common/install/swift-package-manager.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ https://github.com/getsentry/sentry-cocoa.git
```

You can define your dependency rule by selecting the SDK version (or branch), and then click the "Add Package" button.
You will then be prompted to choose one of the options `Sentry`, `Sentry-Dynamic` or `SentrySwiftUI`.
You will then be prompted to choose one of the options `Sentry`, `Sentry-Dynamic`, `SentrySwiftUI`, or `SentrySPM`.

- `Sentry` is the static framework, which is the recommended option if you prefer a fast app start time.
- `Sentry-Dynamic` is the dynamic framework.
- `Sentry` is the static pre-built framework, which is the recommended option if you prefer a fast app start time.
- `Sentry-Dynamic` is the dynamic pre-built framework.
- `SentrySwiftUI` is used to track performance of SwiftUI views, see more information in the [docs](/platforms/apple/guides/ios/tracing/instrumentation/swiftui-instrumentation/).
- `SentrySPM` compiles the SDK from source as part of your project build instead of using a pre-built binary. This is useful if you want to step through SDK code while debugging. Not all product variants are available yet with this option.

<Alert>
Xcode allows you to choose many options, but you should choose only one of the
Expand Down
Loading