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 @@ -7,7 +7,7 @@ To integrate Sentry into your Xcode project using CocoaPods, specify it in your

```ruby
platform :ios, '11.0'
use_frameworks! # This is important
use_frameworks! # This is required

target 'YourApp' do
pod 'Sentry', :git => 'https://github.com/getsentry/sentry-cocoa.git', :tag => '{{@inject packages.version('sentry.cocoa') }}'
Expand Down
6 changes: 0 additions & 6 deletions docs/platforms/apple/common/install/swift-package-manager.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,3 @@ Alternatively, when your project uses a `Package.swift` file to manage dependenc
```swift {tabTitle:Swift}
.package(url: "https://github.com/getsentry/sentry-cocoa", from: "{{@inject packages.version('sentry.cocoa') }}"),
```

<Alert>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seemed to do more harm than good since it's been years since it was relevant and distracts from the important parts of the docs


Version tags or branches need to have the Package.swift file in it or Xcode won't be able to install the package. This means versions previous to `4.4.3` _cannot_ be installed using SPM.

</Alert>
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ You can monitor the performance of your views in a SwiftUI project with the Sent

```ruby
platform :ios, '13.0'
use_frameworks! # This is important
use_frameworks! # This is required

target 'YourApp' do
pod 'SentrySwiftUI', :git => 'https://github.com/getsentry/sentry-cocoa.git', :tag => '{{@inject packages.version('sentry.cocoa') }}'
Expand Down
13 changes: 4 additions & 9 deletions docs/platforms/apple/guides/ios/manual-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,13 @@ If you can't (or prefer not to) run the [automatic setup](/platforms/apple/guide

The minimum required version for iOS is 11.0.

We recommend installing the SDK with CocoaPods, but we also support alternate [installation methods](/platforms/apple/guides/ios/install/). To integrate Sentry into your Xcode project, specify it in your `Podfile`:
We recommend installing the SDK with SPM, but we also support alternate [installation methods](/platforms/apple/guides/ios/install/). To integrate Sentry into your Xcode project, add the package using the Github URL:

```ruby {filename:Podfile}
platform :ios, '11.0'
use_frameworks! # This is important

target 'YourApp' do
pod 'Sentry', :git => 'https://github.com/getsentry/sentry-cocoa.git', :tag => '{{@inject packages.version('sentry.cocoa') }}'
end
```
https://github.com/getsentry/sentry-cocoa.git
```

Then run `pod install`.
The Package has a few products you can depend on, but the recommended one is `Sentry`. For more details see the full docs on using [Swift Package Manager](/platforms/apple/guides/ios/install/swift-package-manager).

## Configuration

Expand Down
Loading