Skip to content

Commit f2b2d2d

Browse files
Feat(apple): Cocoa direct install (#11539)
* add direct install * Apply suggestions from code review Co-authored-by: Philipp Hofmann <[email protected]> * Apply suggestions from code review Co-authored-by: Philipp Hofmann <[email protected]> * Apply suggestions from code review Co-authored-by: Philipp Hofmann <[email protected]> * rename --------- Co-authored-by: Philipp Hofmann <[email protected]>
1 parent 0d92705 commit f2b2d2d

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

docs/platforms/apple/common/install/index.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,13 @@ sidebar_order: 1
44
description: "All the installation methods for the Apple platform."
55
---
66

7+
We recommend installing the SDK through our [Sentry Wizard](https://github.com/getsentry/sentry-wizard) by running the following command inside your project directory:
8+
9+
```bash
10+
brew install getsentry/tools/sentry-wizard && sentry-wizard -i ios
11+
```
12+
13+
This will patch your project and configure the SDK. You'll only need to patch the project once, then you'll be able to add the patched files to your version control system.
14+
If you prefer, you can choose one of the alternative methods below.
15+
716
<PageGrid />
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: Manual Install
3+
description: "Integrate Sentry into your Xcode project by using our pre-compiled frameworks."
4+
---
5+
6+
To integrate Sentry into your Xcode project, follow these steps:
7+
8+
1. Download the latest version of the SDK from the Sentry Cocoa [Releases page](https://github.com/getsentry/sentry-cocoa/releases).
9+
2. Each release contains the following four framework options:
10+
- Sentry-Dynamic.xcframework.zip: Dynamic framework
11+
- Sentry.xcframework.zip: Static framework
12+
- SentrySwiftUI.xcframework.zip: Static Framework with SwiftUI support
13+
- Sentry-WithoutUIKitOrAppKit.xcframework.zip: Static framework without UIKit or AppKit linking and related features
14+
3. Import the chosen framework into your Xcode project target.
15+
16+
### Usage Guidelines:
17+
18+
• Use `Sentry-Dynamic`, `Sentry`, or `Sentry-WithoutUIKitOrAppKit` independently. Only one of these should be included in your project at a time.
19+
• If you're using `SentrySwiftUI`, it must be combined with `Sentry-Dynamic`.

0 commit comments

Comments
 (0)