Xcode crashing and closing before submitting an app to the store

I'm having problems when trying to submit an app to the store, Xcode closes and shows the error below.

What can I do to resolve this?

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Xcode [73051]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               15.0.1 (22266)
Build Info:            IDEApplication-22266000000000000~15 (15A507)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-02-05 16:56:37.5399 -0300
OS Version:            macOS 14.2.1 (23C71)
Report Version:        12
Anonymous UUID:        E288787F-937B-30DA-DDF8-9B763BA08D01


Time Awake Since Boot: 33000 seconds

System Integrity Protection: enabled

Crashed Thread:        9  Dispatch queue: com.apple.root.default-qos

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process:   Xcode [73051]

Application Specific Information:
abort() called

Application Specific Signatures:
NSInvalidArgumentException

Application Specific Backtrace 0:
0   CoreFoundation                      0x00007ff800a36d86 __exceptionPreprocess + 242
1   DVTFoundation                       0x00000001081925cc DVTFailureHintExceptionPreprocessor + 448
2   libobjc.A.dylib                     0x00007ff800529321 objc_exception_throw + 48
3   CoreFoundation                      0x00007ff800adc134 -[NSObject(NSObject) __retain_OA] + 0
4   CoreFoundation                      0x00007ff8009a4643 ___forwarding___ + 1379
5   CoreFoundation                      0x00007ff8009a4058 _CF_forwarding_prep_0 + 120
6   IDEFoundation                       0x000000010d8722e0 -[IDEDistributionProcessingPipelineContext packagePathForVariant:] + 872
7   IDEFoundation                       0x000000010d88e098 -[IDEDistributionCreateIPAStep name] + 108
8   IDEFoundation                       0x000000010d86fcee __98-[IDEDistributionProcessingPipeline observationForPhaseStateChanges:stepIndex:pipelineStepsCount:]_block_invoke + 106
9   DVTFoundation                       0x000000010819d534 -[NSObject(DVTObservingConvenience) _dvt_newObserverForKeyPath:options:owner:creationBacktrace:withHandlerBlock:] + 449
10  DVTFoundation                       0x000000010819e533 -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:withHandlerBlock:] + 125
11  IDEFoundation                       0x000000010d86fb91 -[IDEDistributionProcessingPipeline observationForPhaseStateChanges:stepIndex:pipelineStepsCount:] + 159
12  IDEFoundation                       0x000000010d86ff88 -[IDEDistributionProcessingPipeline processForThinningVariant:distributionItem:stepClass:stepIndex:pipelineStepsCount:error:] + 498
13  IDEFoundation                       0x000000010d86f567 -[IDEDistributionProcessingPipeline process:] + 1733
14  IDEFoundation                       0x000000010d5aae89 -[IDEDistributionPackagingStep loadDrivableFromExportOptions:error:] + 258
15  IDEFoundation                       0x000000010d69db0e -[IDEDistributionDriver runWithDestinationPath:wantsExportStep:] + 2694
16  IDEFoundation                       0x000000010d9ce7a6 $s13IDEFoundation29RecoverableDistributionDriverC3runyyFyyYbcfU_ + 150
17  IDEFoundation                       0x000000010d960239 $sIegh_IeyBh_TR + 25
18  libdispatch.dylib                   0x00007ff80073f2e6 _dispatch_call_block_and_release + 12
19  libdispatch.dylib                   0x00007ff80074059a _dispatch_client_callout + 8
20  libdispatch.dylib                   0x00007ff800742dba _dispatch_queue_override_invoke + 977
21  libdispatch.dylib                   0x00007ff80074f776 _dispatch_root_queue_drain + 328
22  libdispatch.dylib                   0x00007ff80074ff22 _dispatch_worker_thread2 + 152
23  libsystem_pthread.dylib             0x00007ff8008e4c06 _pthread_wqthread + 262
24  libsystem_pthread.dylib             0x00007ff8008e3b97 start_wqthread + 15

Try using the latest version of Xcode: 15.2

Nothing changed

Maybe it doesn't like something in your plist? Is there a previous version of the app that worked?

(just guessing here because I'm not sure what DVTFailureHintExceptionPreprocessor does)

Please post a full crash report for this, per the advice in Posting a Crash Report.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Full cash report.

I encountered almost similar issue. I’ve export archive file to app Store so far, but all of sudden, build is done but distribute app kills Xcode with back trace. xcode is the most recent version. my issue is posed here.

please give us feedback apple team asap :(

btw do you use flutter package pedometer? This error says something like STEP. My app is counting user’s step and now using this package. I haven’t updated this package’s version.

Xcode crashing and closing before submitting an app to the store
 
 
Q