My Xcode can't compile *.xib and this is the error:
2021-06-30 13:34:42.355 ibtoold[5240:180074] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEInterfaceBuilder/IDEInterfaceBuilder-19115.3/InterfaceBuilderKit/Utilities/IBAbstractInterfaceBuilderPlatformToolManager.m:495
Details: Failed to attach to IBAgent-iOS with error: Error Domain=com.apple.InterfaceBuilder Code=-1 "Encountered an error communicating with IBAgent-iOS." UserInfo={NSLocalizedFailureReason=IBAgent-iOS (5309) failed to launch and exited with status 11, NSUnderlyingError=0x7fa995b726f0 {Error Domain=com.apple.InterfaceBuilder Code=-1 "Failed to launch IBAgent-iOS via CoreSimulator spawn" UserInfo={NSLocalizedDescription=Failed to launch IBAgent-iOS via CoreSimulator spawn, NSUnderlyingError=0x7fa995b63350 {Error Domain=com.apple.InterfaceBuilder Code=-1 "Failed to handshake with platform tool" UserInfo={NSLocalizedFailureReason=Failed to open connection over FIFOs with platform tool, NSLocalizedDescription=Failed to handshake with platform tool, NSUnderlyingError=0x7fa995b5e810 {Error Domain=com.apple.InterfaceBuilder Code=-1 "" UserInfo=0x7fa995b5e840 (not displayed)}}}}}, NSLocalizedRecoverySuggestion=Please check Console.app for crash reports for "IBAgent-iOS" for further information., NSLocalizedDescription=Encountered an error communicating with IBAgent-iOS.}
Object:
Method: +_THREADSAFE_launchNewToolWithLaunchContext:executionContext:toolProxyClass:proxyDelegate:failureContext:requestingMethod:error:forReason:
Thread: <NSThread: 0x7fa9e5421b60>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2021-06-30 13:34:42.355 ibtoold[5240:180074] [MT] IBPlatformTool: *** Failed to launch tool with description <IBCocoaTouchPlatformToolDescription: 0x7fa995b59330> System content for IBCocoaTouchFramework-EightAndLater <IBScaleFactorDeviceTypeDescription: 0x7fa995b58980> scaleFactor=2x, renderMode.identifier=(null): Encountered an error communicating with IBAgent-iOS. (Failure reason: IBAgent-iOS (5309) failed to launch and exited with status 11): Failed to launch IBAgent-iOS via CoreSimulator spawn: Failed to handshake with platform tool (Failure reason: Failed to open connection over FIFOs with platform tool): : Failed to open FIFOs for handshaking with platform tool (Failure reason: IBAgent-iOS exited before we could handshake)
/* com.apple.ibtool.errors */
/Users/white/Downloads/IAPConnect_2.16.7-POC_tmn/IAPWallet/LaunchScreen.storyboard: error: Encountered an error communicating with IBAgent-iOS.
Failure Reason: IBAgent-iOS (5309) failed to launch and exited with status 11
Recovery Suggestion: Please check Console.app for crash reports for "IBAgent-iOS" for further information.
Underlying Errors:
Description: Failed to launch IBAgent-iOS via CoreSimulator spawn
Underlying Errors:
Description: Failed to handshake with platform tool
Failure Reason: Failed to open connection over FIFOs with platform tool
Underlying Errors:
Description:
Recovery Suggestion: Try restarting your computer
Underlying Errors:
Description: Failed to open FIFOs for handshaking with platform tool
Failure Reason: IBAgent-iOS exited before we could handshake
macOS: 12.0 Beta (21A5268h)
Xcode: 13.0 beta (13A5155e)
This happened when I upgraded my macOS and Xcode to beta versions. Now they are beta2 and this error is still there. In Console.app there are many IBAgent-iOS crashes, like below:
Incident Identifier: B054FA93-708C-467C-8FFC-BCE93325E057
CrashReporter Key: 0E556268-9A0A-80A5-ED93-2D187F2B194A
Hardware Model: MacBookPro17,1
Process: IBAgent-iOS [5309]
Path: /Users/USER/Desktop/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays/IBAgent-iOS
Identifier: com.apple.dt.Xcode
Version: 13.0 (19161.15)
Code Type: X86-64 (Native)
Role: Unspecified
Parent Process: ibtoold [5240]
Coalition: com.apple.dt.Xcode [2293]
Responsible Process: [4617]
Date/Time: 2021-06-30 13:34:42.3555 +0800
Launch Time: 2021-06-30 13:34:42.3476 +0800
OS Version: macOS 12.0 (21A5268h)
Release Type: User
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
VM Region Info: 0 is not in any region. Bytes before following region: 4299710464
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
mapped file 100486000-10048a000 [ 16K] r-x/r-x SM=COW ...t_id=a2f74781
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [5309]
Triggered by Thread: 0
Application Specific Information:
Thread 0 Crashed:
0 ??? 0x7ff7ffecc118 ???
1 0x1004b5954 ???
2 dyld 0x2004c2a32 dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 890
3 dyld 0x2004c16b5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 244
4 dyld 0x2004c14b4 start + 388
5 dyld 0x2004bc000 ???
Thread 1:: com.apple.rosetta.exceptionserver
0 ??? 0x7ff7ffeb9984 ???
1 ??? 0x7ff7ffed1320 ???
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000000010850daf8 rcx: 0x0000000000000000 rdx: 0x0000000000000001
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x0000000108bbd000
r8: 0x2cbd1c0c97070014 r9: 0x0000000000000000 r10: 0x0000000108bbd000 r11: 0x00000001089c6010
r12: 0x0000000000000000 r13: 0x00000001089c6060 r14: 0x0000000200530080 r15: 0x0000000000000000
rip: rfl: 0x0000000000000283
tmp0: 0x00000001004a4d98 tmp1: 0x00000001004a4090 tmp2: 0x00000002004dba13
Binary Images:
0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ???
0x2004bc000 - 0x200523fff dyld () <1051784a-31a4-3307-b922-6e65e511ff69> /usr/lib/dyld
EOF