Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get crash log when SWIFT_OBJC_INTEROP_MODE set to objcxx #460

Open
Echo2087 opened this issue Apr 7, 2024 · 1 comment
Open

Can't get crash log when SWIFT_OBJC_INTEROP_MODE set to objcxx #460

Echo2087 opened this issue Apr 7, 2024 · 1 comment

Comments

@Echo2087
Copy link

Echo2087 commented Apr 7, 2024

Xcode15 can mix swift and c++, change project SWIFT_OBJC_INTEROP_MODE from objc to objcxx, then KSCrash can't catch the crashes, Is there any idea to fix it?

For Xcode15:
https://developer.apple.com/videos/play/wwdc2023/10172/

@GLinnik21
Copy link
Collaborator

Hello!
Currently, Swift/C++ interoperability, especially in the way KSCrash interacts with these settings, hasn't been fully explored or supported.

You might want to try an experimental feature in KSCrash that enables catching C++ exceptions in dynamic libraries. Specifically, the function enableSwapOfCxaThrow might help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants