diff --git a/platform-includes/performance/connect-errors-spans/apple.mdx b/platform-includes/performance/connect-errors-spans/apple.mdx index 61984c775917f..0816a2dccd175 100644 --- a/platform-includes/performance/connect-errors-spans/apple.mdx +++ b/platform-includes/performance/connect-errors-spans/apple.mdx @@ -17,7 +17,7 @@ do { ``` ```objc {tabTitle:Objective-C} -#import +@import Sentry; id transaction = [SentrySDK startTransactionWithName:@"Transaction Name" operation:@"operation" bindToScope:YES]; NSError * error; diff --git a/platform-includes/performance/custom-sampling-context/apple.mdx b/platform-includes/performance/custom-sampling-context/apple.mdx index 615b2aa201cb6..4c95437c11bca 100644 --- a/platform-includes/performance/custom-sampling-context/apple.mdx +++ b/platform-includes/performance/custom-sampling-context/apple.mdx @@ -19,7 +19,7 @@ transaction.context.spanDescription = "search results" ``` ```objc {tabTitle:Objective-C} -#import +@import Sentry; // The following data will take part in the sampling decision NSDictionary *samplingContext = @{ diff --git a/platform-includes/performance/traces-sample-rate/apple.mdx b/platform-includes/performance/traces-sample-rate/apple.mdx index fbc71743063f7..31b92d5718ba7 100644 --- a/platform-includes/performance/traces-sample-rate/apple.mdx +++ b/platform-includes/performance/traces-sample-rate/apple.mdx @@ -7,7 +7,7 @@ SentrySDK.start { options in ``` ```objc {tabTitle:Objective-C} -#import +@import Sentry; [SentrySDK startWithConfigureOptions:^(SentryOptions * options) { options.tracesSampleRate = @0.2; diff --git a/platform-includes/performance/traces-sampler-as-sampler/apple.mdx b/platform-includes/performance/traces-sampler-as-sampler/apple.mdx index 99f548ffb6f69..5daf3f658c5e8 100644 --- a/platform-includes/performance/traces-sampler-as-sampler/apple.mdx +++ b/platform-includes/performance/traces-sampler-as-sampler/apple.mdx @@ -37,7 +37,7 @@ SentrySDK.start { configureOptions in ``` ```objc {tabTitle:Objective-C} -#import +@import Sentry; [SentrySDK startWithConfigureOptions:^(SentryOptions * _Nonnull options) { options.dsn = @"___PUBLIC_DSN___";