Cocoapods

Learn about installing the Sentry SDK with CocoaPods.

To integrate Sentry into your Xcode project using CocoaPods, specify it in your Podfile:

Copied
platform :ios, '11.0'
use_frameworks! # This is important

target 'YourApp' do
  pod 'Sentry', :git => 'https://github.com/getsentry/sentry-cocoa.git', :tag => '8.42.0'
end

Afterwards run pod install.

Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").