Running with Xcode 26 and iOS 26 trigger EXC_BREAKPOINT
Hi,
running my apps with Xcode 26 and iOS 26 cause a crash at startup during Bugfender activation at line:
Bugfender.activateLogger("key")
The method is called inside didFinishLaunchingWithOptions method
The crash is a:
Thread 1: EXC_BREAKPOINT (code=1, subcode=0x257b8318c)
BugFender version 2.0.0
Hi @andr3a88,
Have you tried using version 2.0.1, which was built with Xcode 16? Anyway, we are going to test it with Xcode 26 to see if anything seems off.
Could you share some of the Bugfender initialization code? It would help us to understand the options you use.
Hi @ventayol,
I’ve tested with Xcode 26 beta 2 using an iOS 26 simulator. I think the issue is not related to BugFender but to NSURLSession, which BugFender uses internally.
By adding nw_tls_create_options() at the top of didFinishLaunching, the crash disappears. (You also need to import Network).
This is a temporary workaround that I found on Apple forum: https://developer.apple.com/forums/thread/787365?answerId=842851022#842851022
Thanks @andr3a88 for the forum link. After reading it, seems there's a bug on Apple side and they are working on fixing it. There's a message from an Apple engineer saying they are aware of the problem and that it's already reported internally.
Let's wait until they release a new version which might fix the issue. I keep this issue open for now.