diff --git a/CHANGELOG.md b/CHANGELOG.md index bcd5653686..4b20965abe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Fixes + +- Partial workaround for MAX_PATH issues when building iOS applications from Windows ([#4533](https://github.com/getsentry/sentry-dotnet/pull/4533)) + ### Dependencies - Bump Java SDK from v8.22.0 to v8.23.0 ([#4586](https://github.com/getsentry/sentry-dotnet/pull/4586)) diff --git a/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs b/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs index f33b1c6815..2c076ddf1a 100644 --- a/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs +++ b/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs @@ -416,9 +416,9 @@ interface SentryEnvelopeItemHeader : SentrySerializable [Export ("initWithType:length:filenname:contentType:")] NativeHandle Constructor (string type, nuint length, string filename, string contentType); - // -(instancetype _Nonnull)initWithType:(NSString * _Nonnull)type length:(NSUInteger)length contentType:(NSString * _Nonnull)contentType itemCount:(NSNumber * _Nonnull)itemCount; + // -(instancetype _Nonnull)initWithType:(NSString * _Nonnull)type length:(NSUInteger)length contentType:(NSString * _Nullable)contentType itemCount:(NSNumber * _Nonnull)itemCount; [Export ("initWithType:length:contentType:itemCount:")] - NativeHandle Constructor (string type, nuint length, string contentType, NSNumber itemCount); + NativeHandle Constructor (string type, nuint length, [NullAllowed] string contentType, NSNumber itemCount); // @property (readonly, copy, nonatomic) NSString * _Nonnull type; [Export ("type")] diff --git a/src/Sentry.Bindings.Cocoa/Sentry.Bindings.Cocoa.csproj b/src/Sentry.Bindings.Cocoa/Sentry.Bindings.Cocoa.csproj index 860b0f2db4..9ea684fbdb 100644 --- a/src/Sentry.Bindings.Cocoa/Sentry.Bindings.Cocoa.csproj +++ b/src/Sentry.Bindings.Cocoa/Sentry.Bindings.Cocoa.csproj @@ -102,7 +102,7 @@ @@ -122,7 +122,7 @@ - @@ -134,6 +134,13 @@ + + + + + +