diff --git a/docs/platforms/apple/common/install/cocoapods.mdx b/docs/platforms/apple/common/install/cocoapods.mdx index 7ef92d4923094..48f61a9077982 100644 --- a/docs/platforms/apple/common/install/cocoapods.mdx +++ b/docs/platforms/apple/common/install/cocoapods.mdx @@ -1,24 +1,11 @@ --- -title: CocoaPods (Deprecated) -description: "Learn about installing the Sentry SDK with CocoaPods." +title: CocoaPods (No Longer Supported) +description: "CocoaPods is no longer a supported installation method for the Sentry Apple SDK." sidebar_order: 2000 --- - -We will stop publishing to CocoaPods at the end of June 2026. We recommend migrating to Swift Package Manager (SPM) or manually installing the [pre-built XCFramework from GitHub releases](https://github.com/getsentry/sentry-cocoa/releases). All versions published before that date will remain available on CocoaPods. - - -To integrate Sentry into your Xcode project using CocoaPods, specify it in your _Podfile_: - -```ruby -platform :ios, '11.0' -use_frameworks! # This is required + -target 'YourApp' do - pod 'Sentry', :git => 'https://github.com/getsentry/sentry-cocoa.git', :tag => '{{@inject packages.version('sentry.cocoa') }}' -end -``` +We no longer publish to CocoaPods. Please migrate to Swift Package Manager (SPM) or manually install the [pre-built XCFramework from GitHub releases](https://github.com/getsentry/sentry-cocoa/releases). All versions published before July 2026 remain available on CocoaPods. -Afterwards run `pod install`. - -If you're using Xcode 14 or later, your project might fail to build due to `error: Sandbox: rsync.samba(42924)`. To resolve this you have to disable the "Enable User Script Sandbox" option in the target settings by setting it to `NO`. See Troubleshooting for more information. + diff --git a/docs/platforms/apple/common/troubleshooting/index.mdx b/docs/platforms/apple/common/troubleshooting/index.mdx index 3293381464b82..94a2f9ff838fd 100644 --- a/docs/platforms/apple/common/troubleshooting/index.mdx +++ b/docs/platforms/apple/common/troubleshooting/index.mdx @@ -155,33 +155,6 @@ If the release health page shows fewer events in the unhandled tab, your events We introduced a bug with a refactoring [#4101](https://github.com/getsentry/sentry-cocoa/pull/4101) released in 8.30.1, that caused unhandled/crash events to have the unhandled property and mach info missing, which is required for release health to show events in the unhandled tab. It's essential to mention that this bug doesn't impact release health statistics, such as crash-free session or user rates. -## Sandbox Error Using Cocoapods - - -We will stop publishing to CocoaPods at the end of June 2026. We recommend migrating to Swift Package Manager (SPM) or manually installing the [pre-built XCFramework from GitHub releases](https://github.com/getsentry/sentry-cocoa/releases). - - -After setting up Cocoapods using a `Podfile` and running `pod install` to set up the project, you might see the following error when building the target: - -``` -error: Sandbox: rsync.samba(42924) deny(1) file-read-data /Frameworks/Sentry.framework/Sentry.bundle (in target 'test' from project 'test') -error: Sandbox: rsync.samba(42925) deny(1) file-read-data /Frameworks/Sentry.framework/_CodeSignature/CodeResources (in target 'test' from project 'test') -error: Sandbox: rsync.samba(42925) deny(1) file-write-create /Frameworks/Sentry.framework/_CodeSignature/.CodeResources.a2sA9v (in target 'test' from project 'test') -mkdir -p /Frameworks -rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "/Sentry/Sentry.framework" "/Frameworks" -building file list ... done -rsync: opendir "/Frameworks/Sentry.framework/Sentry.bundle" failed: Operation not permitted (1) -IO error encountered -- skipping file deletion -Sentry.framework/_CodeSignature/CodeResources -rsync: mkstemp "/Frameworks/Sentry.framework/_CodeSignature/.CodeResources.a2sA9v" failed: Operation not permitted (1) - -sent 15034 bytes received 42 bytes 30152.00 bytes/sec -total size is 4950281 speedup is 328.36 -rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/5bb93434-bef0-11ef-bef2-d285688f7a47/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9] -``` - -While it seems to be related to Sentry, it is actually caused by the user script sandbox feature introduced in [Xcode 14](https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes), which is enabled by default. In order to fix this, you need to head to the target settings of your project and set the "Enable User Script Sandbox" option to `NO`. - ## 'required' initializer 'init(from:)' must be provided by subclass Since Cocoa SDK version [8.45.0](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8450) and above,