# Cocoapods | Sentry for macOS

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

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

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

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](https://docs.sentry.io/platforms/apple/guides/macos/troubleshooting.md#sandbox-error-using-cocoapods) for more information.
