Skip to content

Commit

Permalink
Fix macOS/iOS build due to missing NS_SWIFT_SENDABLE macro (#721)
Browse files Browse the repository at this point in the history
* Add check if `NS_SWIFT_SENDABLE` macro defined (for legacy Xcode versions)

* Update changelog
  • Loading branch information
tustanivsky authored Dec 24, 2024
1 parent b8875c4 commit 19274c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
- Add API allowing to start/finish transactions and spans with explicit timings ([#715](https://github.com/getsentry/sentry-unreal/pull/715))
- Add GPU crash dump attachments ([#712](https://github.com/getsentry/sentry-unreal/pull/712))

### Fixes

- Fix macOS/iOS build errors due to missing `NS_SWIFT_SENDABLE` macro definition ([#721](https://github.com/getsentry/sentry-unreal/pull/721))

### Dependencies

- Bump Native SDK from v0.7.16 to v0.7.17 ([#717](https://github.com/getsentry/sentry-unreal/pull/717))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

#include "HAL/Platform.h"

#ifndef NS_SWIFT_SENDABLE
#define NS_SWIFT_SENDABLE
#endif

#if PLATFORM_MAC
#include <Sentry/Sentry.h>
#include <Sentry/PrivateSentrySDKOnly.h>
Expand Down

0 comments on commit 19274c8

Please sign in to comment.