这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Features

- Add visionOS as device family (#3548)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m: This needs to move up to the unreleased section

- Add VisionOS Support for Carthage (#3565)

### Fixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,8 @@
g_systemData.systemName = "macOS";
#elif SentryCrashCRASH_HOST_WATCH
g_systemData.systemName = "watchOS";
#elif SentryCrashCRASH_HOST_VISION
g_systemData.systemName = "visionOS";
#else
g_systemData.systemName = "unknown";
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@
#define SentryCrashCRASH_HOST_IOS (SentryCrashCRASH_HOST_APPLE && TARGET_OS_IOS)
#define SentryCrashCRASH_HOST_TV (SentryCrashCRASH_HOST_APPLE && TARGET_OS_TV)
#define SentryCrashCRASH_HOST_WATCH (SentryCrashCRASH_HOST_APPLE && TARGET_OS_WATCH)
#define SentryCrashCRASH_HOST_VISION (SentryCrashCRASH_HOST_APPLE && TARGET_OS_VISION)
#define SentryCrashCRASH_HOST_MAC \
(SentryCrashCRASH_HOST_APPLE && TARGET_OS_MAC \
&& !(TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_WATCH))
&& !(TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_WATCH || TARGET_OS_VISION))

#if SentryCrashCRASH_HOST_APPLE
# define SentryCrashCRASH_CAN_GET_MAC_ADDRESS 1
Expand Down