Skip to content

Commit 19274c8

Browse files
authored
Fix macOS/iOS build due to missing NS_SWIFT_SENDABLE macro (#721)
* Add check if `NS_SWIFT_SENDABLE` macro defined (for legacy Xcode versions) * Update changelog
1 parent b8875c4 commit 19274c8

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
- Add API allowing to start/finish transactions and spans with explicit timings ([#715](https://github.com/getsentry/sentry-unreal/pull/715))
88
- Add GPU crash dump attachments ([#712](https://github.com/getsentry/sentry-unreal/pull/712))
99

10+
### Fixes
11+
12+
- Fix macOS/iOS build errors due to missing `NS_SWIFT_SENDABLE` macro definition ([#721](https://github.com/getsentry/sentry-unreal/pull/721))
13+
1014
### Dependencies
1115

1216
- Bump Native SDK from v0.7.16 to v0.7.17 ([#717](https://github.com/getsentry/sentry-unreal/pull/717))

plugin-dev/Source/Sentry/Private/Apple/Convenience/SentryInclude.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
#include "HAL/Platform.h"
66

7+
#ifndef NS_SWIFT_SENDABLE
8+
#define NS_SWIFT_SENDABLE
9+
#endif
10+
711
#if PLATFORM_MAC
812
#include <Sentry/Sentry.h>
913
#include <Sentry/PrivateSentrySDKOnly.h>

0 commit comments

Comments
 (0)