NEW: Subscribe to Hacking with Swift+ and accelerate your learning! >>

Handle Uncaught Exception at SDK level (Swift SDK for Mobile devices)

Forums > Swift

I developed a Swift SDK where i need to handle all uncaught exceptions and crashes with in SDK.

My objective is simple would like to capture the call stack and log to file or send to server.

I would like to know, is there any way to capture uncaught exceptions with in my swift SDK?

or any 3rd party library which will help me to integrate only with SDK to capture the crashes or uncaught exceptions?

Thanks in advance

   

Hacking with Swift is sponsored by Paw

SPONSORED Use Paw to build, test and describe web APIs. Paw has a lightning fast native macOS interface to compose requests, collaborate in real-time on API specs, and generate client code for your applications. You can import and export API definitions.

Discover Paw for Mac

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

Not logged in

Log in
 

Link copied to your pasteboard.