diff --git a/docs/platforms/apple/common/install/cocoapods.mdx b/docs/platforms/apple/common/install/cocoapods.mdx index d0d4d79cc82e5..c62aca50dbb73 100644 --- a/docs/platforms/apple/common/install/cocoapods.mdx +++ b/docs/platforms/apple/common/install/cocoapods.mdx @@ -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') }}' diff --git a/docs/platforms/apple/common/install/swift-package-manager.mdx b/docs/platforms/apple/common/install/swift-package-manager.mdx index c9565dfab7a94..0eaba2787eb06 100644 --- a/docs/platforms/apple/common/install/swift-package-manager.mdx +++ b/docs/platforms/apple/common/install/swift-package-manager.mdx @@ -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') }}"), ``` - - - -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. - - diff --git a/docs/platforms/apple/common/tracing/instrumentation/swiftui-instrumentation.mdx b/docs/platforms/apple/common/tracing/instrumentation/swiftui-instrumentation.mdx index c5cfb30af2912..89d7f03bf9075 100644 --- a/docs/platforms/apple/common/tracing/instrumentation/swiftui-instrumentation.mdx +++ b/docs/platforms/apple/common/tracing/instrumentation/swiftui-instrumentation.mdx @@ -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') }}' diff --git a/docs/platforms/apple/guides/ios/manual-setup.mdx b/docs/platforms/apple/guides/ios/manual-setup.mdx index d051b838b1595..db62abde6c1e1 100644 --- a/docs/platforms/apple/guides/ios/manual-setup.mdx +++ b/docs/platforms/apple/guides/ios/manual-setup.mdx @@ -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