Creating a new project with macOS 12 beta and using xCode 12.5, after building the project a build error shows up:
Encountered an error communicating with IBAgent-iOS
Log:
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 (6234) failed to launch and exited with status 11, NSUnderlyingError=0x7f97e39e0160 {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=0x7f97e39fdca0 {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=0x7f97e39fdc70 {Error Domain=com.apple.InterfaceBuilder Code=-1 "" UserInfo=0x7f97e39c5ee0 (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: <IBCocoaTouchToolManager>
Tried:
Clean derived data folder.
Delete CoreSimulator folder from Library
Restart
Clean Build
Nothing helps, the brand new project just fails to build.