IBAgent Crash

Could someone help me with a good direction on where or how could I fix for this crash from console log:

  • Not able to open storyboard or XIB.
  • Once opening them, Xcode is crashing.
  • tried uninstalling the Xcode, couldn't fix even after deleting derived data and caches.
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: 7E6D64FF-D4E9-4E3A-A37A-BC5016316DCD
CrashReporter Key:   4776E37C-4D3D-F705-40D5-8A96EE95C89A
Hardware Model:      Mac15,6
Process:             IBAgent-iOS [31688]
Path:                /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays/IBAgent-iOS
Identifier:          IBAgent-iOS
Version:             16.0 (23506)
Code Type:           ARM-64 (Native)
Role:                Unspecified
Parent Process:      launchd_sim [31680]
Coalition:           com.apple.CoreSimulator.SimDevice.178E8D7E-176F-4B7F-8956-D26C5EF7323A [5165]
Responsible Process: SimulatorTrampoline [1185]

Date/Time:           2024-11-06 14:59:29.3079 +0530
Launch Time:         2024-11-06 14:59:28.9368 +0530
OS Version:          macOS 15.1 (24B83)
Release Type:        User
Report Version:      104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000102e1e19c
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [31688]

Triggered by Thread:  0

Application Specific Information:
Abort Cause 259


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_platform.dylib      	       0x102e1e19c _os_unfair_lock_recursive_abort + 36
1   libsystem_platform.dylib      	       0x102e19504 _os_unfair_lock_lock_slow + 304
2   libGSFont.dylib               	       0x19045ebb4 GSFontFileDescriptorForPath + 28
3   libFontParser.dylib           	       0x19047d714 TFileDescriptorContext::TFileDescriptorContext(char const*) + 216
4   libFontParser.dylib           	       0x19057c7e4 TFileDataReference::Map(char const*) + 36
5   libFontParser.dylib           	       0x19047d514 TFileDataReference::TFileDataReference(char const*) + 88
6   libFontParser.dylib           	       0x19057c934 TFileDataSurrogate::TFileDataSurrogate(char const*, timespec) + 152
7   libFontParser.dylib           	       0x1905cbaac TFont::CreateFontEntitiesForFile(char const*, timespec, bool, short, char const*) + 580
8   libFontParser.dylib           	       0x19047d1e0 FPFontCreateFontsWithPath + 200
9   CoreGraphics                  	       0x18b612c54 create_private_data_array_with_path + 16
10  CoreGraphics                  	       0x18b2cddd4 CGFontCreateFontsWithPath + 36
11  CoreGraphics                  	       0x18b3389b0 CGFontCreateFontsWithURL + 680
12  libGSFont.dylib               	       0x190465518 AddFontsFromURLOrPath + 288
13  libGSFont.dylib               	       0x19045ffb4 RegisterURLAndCopyFaces + 168
14  libGSFont.dylib               	       0x19045fefc GSFontRegisterURL + 76
15  CoreText                      	       0x181c5e0b8 _CTFontManagerRegisterActionFontsForURLs(__CFArray const*, CTFontManagerScope, bool, Action, __CFArray const**) + 396
16  IBCocoaTouchToolFoundation    	       0x10307e748 +[UIFont(IBCocoaTouchToolIntegration) ib_registerFontsAtURLs:] + 336
17  AssetCatalogFoundation        	       0x1033e1a88 __80-[IBMessageReceiveChannel deliverMessage:toTarget:withArguments:context:result:]_block_invoke + 196
18  AssetCatalogFoundation        	       0x1033e191c -[IBMessageReceiveChannel deliverMessage:toTarget:withArguments:context:result:] + 328
19  AssetCatalogFoundation        	       0x1033e14bc __88-[IBMessageReceiveChannel runBlockingReceiveLoopNotifyingQueue:notifyingTarget:context:]_block_invoke + 100
20  libdispatch.dylib             	       0x180178de0 _dispatch_client_callout + 16
21  libdispatch.dylib             	       0x180188bc8 _dispatch_async_and_wait_invoke + 112
22  libdispatch.dylib             	       0x180178de0 _dispatch_client_callout + 16
23  libdispatch.dylib             	       0x180187c60 _dispatch_main_queue_drain + 1272
24  libdispatch.dylib             	       0x180187758 _dispatch_main_queue_callback_4CF + 40
25  CoreFoundation                	       0x18041b2dc __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
26  CoreFoundation                	       0x180415838 __CFRunLoopRun + 1944
27  CoreFoundation                	       0x180414c24 CFRunLoopRunSpecific + 552
28  Foundation                    	       0x180f319c8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208
29  AssetCatalogFoundation        	       0x1033bdc00 -[IBAbstractPlatformTool startServingReceiveChannel:] + 292
30  AssetCatalogFoundation        	       0x1033bddf4 -[IBAbstractPlatformTool startServingWriteDescriptor:readDescriptor:] + 96
31  AssetCatalogFoundation        	       0x1033be718 +[IBAbstractPlatformTool main] + 800
32  IBAgent-iOS                   	       0x102b77930 main + 32
33  dyld_sim                      	       0x102b89410 start_sim + 20
34  dyld                          	       0x102c96274 start + 2840

Thanks for bringing this to our attention. It appears that the app inside the simulator is crashing, not Xcode. Here are some troubleshooting steps you can follow:

  1. Storyboard Recreation: Sometimes, issues with storyboards can be resolved by recreating them. Could you give this a try and see if it makes a difference?

  2. Xcode Update: Ensure you are using the latest version of Xcode. Outdated versions can sometimes cause compatibility problems.

  3. Font Analysis: The crash seems to be related to specific fonts in the simulator. Could you please answer the following questions:

    • Have you tried running the app on a real device to see if the issue persists?
    • Are there any custom fonts used in that particular storyboard?
  4. Isolated Project: Would it be possible for you to share the specific storyboard in an isolated project? This would greatly help us in identifying the root cause of the crash.

Your assistance in providing these details is greatly appreciated.

Albert Pascual
  Worldwide Developer Relations.

IBAgent Crash
 
 
Q