Xcode 14.3.1 crashing on clicking Product

Hi there, I'm trying to run my Flutter app. But Run button is disabled and on clicking Product Xcode is crashing. It's happening only one of my apps. Others working fine. Can you suggest some solutions?


Translated Report (Full Report Below)

Process: Xcode [14535] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 14.3.1 (21815) Build Info: IDEFrameworks-21815000000000000~2 (14E300c) App Item ID: 497799835 App External ID: 857328487 Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 501

Date/Time: 2023-06-06 23:38:16.3264 +0500 OS Version: macOS 13.4 (22F66) Report Version: 12 Bridge OS Version: 7.5 (20P5058) Anonymous UUID: BE7C0181-1538-5586-616B-B90C57E21B14

Time Awake Since Boot: 12000 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 4 Illegal instruction: 4 Terminating Process: exc handler [14535]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 IDEFoundation 0x10c51f89f IDELaunchTestSchemeAction.buildableReferenceForMacroExpansion.getter + 383

Xcode 14.3.1 crashing on clicking Product
 
 
Q