I am new to coding and I am working on a project that incorporates three files. While running the code on XCode, everything works as expected until I run to completion and attempt to run the code again. Everytime I run through the code all the way, and hit the play button again, the app quits unexpectedly with the following Problem Report. This same code did not have the same problems when I ran it through XCode version 14.3, but always does on XCode on version 15.0.
Translated Report (Full Report Below)
Process: Xcode [3228]
Path: /Applications/Xcode 15.0.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 15.0 (22265)
Build Info: IDEApplication-22265000000000000~3 (15A240d)
App Item ID: 497799835
App External ID: 859515098
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-09-26 16:11:58.5501 -0400
OS Version: macOS 14.0 (23A344)
Report Version: 12
Anonymous UUID: 39956118-B5D9-942D-446C-1EB71E28673B
Sleep/Wake UUID: 8501A0C3-6A36-4534-A018-F5A0315B16B0
Time Awake Since Boot: 5000 seconds
Time Since Wake: 1121 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: Xcode [3228]
Application Specific Information:
abort() called