Skip to content

Commit

Permalink
feat(apple): Carthage visionOS support
Browse files Browse the repository at this point in the history
Related Cocoa PR getsentry/sentry-cocoa#3565.
  • Loading branch information
philipphofmann committed Feb 5, 2024
1 parent 5da18f1 commit 216b076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/platforms/apple/common/install/carthage.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
title: Carthage
description: "Learn about integrating Sentry into your Xcode project using Carthage."
notSupported:
- apple.visionos
---

To integrate Sentry into your Xcode project using Carthage, specify it in your _Cartfile_:
Expand All @@ -21,6 +19,8 @@ Sentry's Carthage setup generates 3 different frameworks:

_Sentry_ is required for all projects. _SentrySwiftUI_ is required to measure the performance of your SwiftUI views. _SentryPrivate_ is only needed if you changed the carthage build process to generate static frameworks.

The SDK supports integrating Sentry with VisionOS via Carthage on sentry-cocoa 8.20.0 and above.

## Macs with Apple Silicon and XCFrameworks

If you're using Sentry via Carthage on Macs with Apple Silicon or want to use XCFrameworks, please use Carthage >= 0.37.0, which introduced [support for XCFramework](https://github.com/Carthage/Carthage/releases/tag/0.37.0). Make sure to use `carthage build --use-xcframeworks --no-use-binaries` after running `carthage update --use-xcframeworks`. Carthage 0.37.0 needs to rebuild the XCFramework from source because it can't handle GitHub dependencies that download binaries. Learn more in their [release notes](https://github.com/Carthage/Carthage/releases/tag/0.37.0).

0 comments on commit 216b076

Please sign in to comment.