Skip to content

Commit 1502920

Browse files
committed
Update cocoa SDK setup instructions
1 parent ccbcef4 commit 1502920

File tree

4 files changed

+6
-17
lines changed

4 files changed

+6
-17
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ To integrate Sentry into your Xcode project using CocoaPods, specify it in your
77

88
```ruby
99
platform :ios, '11.0'
10-
use_frameworks! # This is important
10+
use_frameworks! # This is required
1111

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

docs/platforms/apple/common/install/swift-package-manager.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,3 @@ Alternatively, when your project uses a `Package.swift` file to manage dependenc
2626
```swift {tabTitle:Swift}
2727
.package(url: "https://github.com/getsentry/sentry-cocoa", from: "{{@inject packages.version('sentry.cocoa') }}"),
2828
```
29-
30-
<Alert>
31-
32-
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.
33-
34-
</Alert>

docs/platforms/apple/common/tracing/instrumentation/swiftui-instrumentation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You can monitor the performance of your views in a SwiftUI project with the Sent
1414

1515
```ruby
1616
platform :ios, '13.0'
17-
use_frameworks! # This is important
17+
use_frameworks! # This is required
1818

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

docs/platforms/apple/guides/ios/manual-setup.mdx

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,13 @@ If you can't (or prefer not to) run the [automatic setup](/platforms/apple/guide
1010

1111
The minimum required version for iOS is 11.0.
1212

13-
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`:
13+
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:
1414

15-
```ruby {filename:Podfile}
16-
platform :ios, '11.0'
17-
use_frameworks! # This is important
18-
19-
target 'YourApp' do
20-
pod 'Sentry', :git => 'https://github.com/getsentry/sentry-cocoa.git', :tag => '{{@inject packages.version('sentry.cocoa') }}'
21-
end
15+
```
16+
https://github.com/getsentry/sentry-cocoa.git
2217
```
2318

24-
Then run `pod install`.
19+
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).
2520

2621
## Configuration
2722

0 commit comments

Comments
 (0)