diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c8906096b..ab9eba8fe7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,9 @@ - Bump CLI from v2.32.1 to v2.33.0 ([#3489](https://github.com/getsentry/sentry-dotnet/pull/3489), [#3497](https://github.com/getsentry/sentry-dotnet/pull/3497)) - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2330) - [diff](https://github.com/getsentry/sentry-cli/compare/2.32.1...2.33.0) +- Bump Cocoa SDK from v8.30.0 to v8.32.0 ([#3499](https://github.com/getsentry/sentry-dotnet/pull/3499)) + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8320) + - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.30.0...8.32.0) - Bump Native SDK from v0.7.6 to v0.7.7 ([#3502](https://github.com/getsentry/sentry-dotnet/pull/3502)) - [changelog](https://github.com/getsentry/sentry-native/blob/master/CHANGELOG.md#077) - [diff](https://github.com/getsentry/sentry-native/compare/0.7.6...0.7.7) diff --git a/modules/sentry-cocoa b/modules/sentry-cocoa index 8fd4e804f2..5421f94cc8 160000 --- a/modules/sentry-cocoa +++ b/modules/sentry-cocoa @@ -1 +1 @@ -Subproject commit 8fd4e804f2e72e0b9c1b189ce4e8349c4d10b6a2 +Subproject commit 5421f94cc859eb65f5ae3866165a053aa634431e diff --git a/scripts/generate-cocoa-bindings.ps1 b/scripts/generate-cocoa-bindings.ps1 index db1b250090..1fd8dfe6c7 100644 --- a/scripts/generate-cocoa-bindings.ps1 +++ b/scripts/generate-cocoa-bindings.ps1 @@ -41,6 +41,10 @@ if (!(Test-Path '/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/ $iPhoneSdkVersion = sharpie xcode -sdks | grep -o -m 1 'iphoneos\S*' Write-Output "iPhoneSdkVersion: $iPhoneSdkVersion" +# The umbrella header is provided in the "new" style of `#import ` instead of `#import "SomeHeader.h"` which causes sharpie to fail resolve those headers +$umbrellaHeader = "$CocoaSdkPath/Carthage/Headers/Sentry.h" +Set-Content -Path $umbrellaHeader -Value ((Get-Content -Path $umbrellaHeader -Raw) -replace ']+)>', '"$1"') + # Generate bindings Write-Output 'Generating bindings with Objective Sharpie.' sharpie bind -sdk $iPhoneSdkVersion ` diff --git a/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs b/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs index c44bca6840..8f57113257 100644 --- a/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs +++ b/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs @@ -1360,7 +1360,7 @@ interface SentryOptions [Export ("enableFileIOTracing")] bool EnableFileIOTracing { get; set; } - // @property (nonatomic) BOOL enableTracing; + // @property (nonatomic) BOOL enableTracing __attribute__((deprecated("Use tracesSampleRate or tracesSampler instead"))); [Export ("enableTracing")] bool EnableTracing { get; set; }