# Objective-C Error Monitoring

> See important details like function & line numbers with Objective-C performance monitoring. Start resolving issues without digging through crash logs here.

**URL:** https://sentry.io/for/objc/

---

**Documentation:** [https://docs.sentry.io/platforms/apple/](https://docs.sentry.io/platforms/apple/)

## Install

To integrate Sentry into your Xcode project, specify it in your `Podfile`, then run `pod install`:

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

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

Initialize the SDK as soon as possible in your application lifecycle, such as in your AppDelegate `application:didFinishLaunchingWithOptions` method:

```objectivec
@import Sentry;

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

    [SentrySDK startWithConfigureOptions:^(SentryOptions *options) {
        options.dsn = @"https://<key>@sentry.io/<project>";
        options.debug = @YES; // Enabled debug when first installing is always helpful
        // Example uniform sample rate: capture 100% of transactions for Tracing
        options.tracesSampleRate = @1.0;
    }];

    return YES;
}
```

See the [Objective-C docs](https://docs.sentry.io/platforms/apple/) for full setup options.

## Features

### Objective-C Performance Monitoring

Within minutes after installing Sentry, software teams are able to trace Objective-C performance issues back to a poor performing API call as well as surface all related code errors. Engineering Managers and Developers now have a single tool to optimize the performance of their code and deliver fast customer experiences with [Performance Monitoring](/for/performance/).

### Get iOS Crash Reporting With Complete Stack Traces

Reveal hidden context in Apple's incomplete crash data by automatically symbolicating unreadable symbols. Handle Objective-C iOS crashes with complete context using the React Native SDK while the Objective-C SDK runs in the background.

### Fill In The Blanks About iOS Crashes

See what the app was doing when the iOS crash occurred: every user action, controller changes, and custom breadcrumbs. Record events when devices are offline or in airplane mode, then send crash reports as soon as connection is regained.

### Resolve iOS Crashes With Better Data

Improve Objective-C error monitoring workflow with a full view of releases so you can mark errors as resolved and prioritize live issues. Learn in which version bug first appeared, merge duplicates, and know if things regress in a future release. Add commit data to automatically suggest an owner of each iOS crash and instantly send deploy emails.

---

*Source: [sentry.io/for/objc/](https://sentry.io/for/objc/)*
