BugfenderSDK-iOS icon indicating copy to clipboard operation
BugfenderSDK-iOS copied to clipboard

Running with Xcode 26 and iOS 26 trigger EXC_BREAKPOINT

Open andr3a88 opened this issue 10 months ago • 3 comments

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

andr3a88 avatar Jun 20 '25 12:06 andr3a88

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.

ventayol avatar Jun 22 '25 16:06 ventayol

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

andr3a88 avatar Jun 25 '25 09:06 andr3a88

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.

ventayol avatar Jun 27 '25 10:06 ventayol