xendit / xendit-sdk-ios-src

MIT License
7 stars 12 forks source link

[Cards] Error available class Xcode 16 beta 2 No type named 'terminate_handler' in namespace 'std' in Sentry #81

Closed sakshibala-halodoc closed 2 weeks ago

sakshibala-halodoc commented 3 months ago

Description Trying to compile the project with the latest version of Xendit using Xcode 16 beta 2. It works well with Xcode 15.4 We are using SPM for Xendit.

Error SwiftPackageManager/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Monitors/SentryCrashMonitor_CPPException.cpp:59:13 No type named 'terminate_handler' in namespace 'std'

SwiftPackageManager/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Monitors/SentryCrashMonitor_CPPException.cpp:194:47 No member named 'set_terminate' in namespace 'std'

SwiftPackageManager/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Monitors/SentryCrashMonitor_CPPException.cpp:196:18 No type named 'set_terminate' in namespace 'std'

Screenshot 2024-07-08 at 12 23 59 PM
LF-XiaofeiShao commented 2 months ago

This also happens in Xcode 16.0 beta 3 (16A5202i)

LF-XiaofeiShao commented 3 weeks ago

This also happens in Xcode 16.0 RC (16A242). Xcode 16 is expected to be officially released on September 16, please fix it quickly.

LF-XiaofeiShao commented 3 weeks ago

@adhiartaputra @duong-xendit @pandyaka @glyuck

ignatiojuliant commented 2 weeks ago

please just update to latest version release quickly

azaky commented 2 weeks ago

This is already fixed in the version 3.10.0. However, note that the Sentry versions that fix this issue require minimum iOS 11, so we had to bump that as well. If your app need support for lower iOS versions, you still need to use SDK version 3.9.2 and XCode 15 at the latest.