Xcode crashes due to package based on back trace

My Xcode crashes with back trace.

It builds my app successfully, but when I distribute this app xcode dies, especially in process Signing App.framework...

I didn't know that xcode provides back tract when it fails, but I found it and once I see this.

It seems related to package that I use in flutter project pedometer.

Below part is the Crashed part of back trace.

Thread 10 Crashed::  Dispatch queue: com.apple.root.default-qos
0   libsystem_kernel.dylib        	       0x185af711c __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x185b2ecc0 pthread_kill + 288
2   libsystem_c.dylib             	       0x185a3ea50 abort + 180
3   IDEKit                        	       0x105727b64 +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 972
4   IDEKit                        	       0x105727fa4 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 872
5   DVTFoundation                 	       0x10091a73c _DVTAssertionHandler + 424
6   DVTFoundation                 	       0x10091a8bc _DVTAssertionFailureHandler + 196
7   DVTFoundation                 	       0x1007e0410 +[DVTFilePath _filePathForParent:pathString:] + 512
8   DVTFoundation                 	       0x1007e0a9c -[DVTFilePath filePathForRelativePathString:] + 48
9   IDEFoundation                 	       0x107229edc -[IDEDistributionProcessingPipelineContext packagePathForVariant:] + 768
10  IDEFoundation                 	       0x107240514 -[IDEDistributionCreateIPAStep name] + 88
11  IDEFoundation                 	       0x107227e40 __98-[IDEDistributionProcessingPipeline observationForPhaseStateChanges:stepIndex:pipelineStepsCount:]_block_invoke + 96
12  DVTFoundation                 	       0x1009265e4 -[NSObject(DVTObservingConvenience) _dvt_newObserverForKeyPath:options:owner:creationBacktrace:withHandlerBlock:] + 380
13  DVTFoundation                 	       0x1009273ac -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:withHandlerBlock:] + 124
14  IDEFoundation                 	       0x107227d04 -[IDEDistributionProcessingPipeline observationForPhaseStateChanges:stepIndex:pipelineStepsCount:] + 152
15  IDEFoundation                 	       0x107228078 -[IDEDistributionProcessingPipeline processForThinningVariant:distributionItem:stepClass:stepIndex:pipelineStepsCount:error:] + 420
16  IDEFoundation                 	       0x10722780c -[IDEDistributionProcessingPipeline process:] + 1132
17  IDEFoundation                 	       0x106fdc594 -[IDEDistributionPackagingStep loadDrivableFromExportOptions:error:] + 204
18  IDEFoundation                 	       0x1070a42a8 -[IDEDistributionDriver runWithDestinationPath:wantsExportStep:] + 1992
19  IDEFoundation                 	       0x10736081c closure #1 in RecoverableDistributionDriver.run() + 188
20  IDEFoundation                 	       0x1072f4b84 thunk for @escaping @callee_guaranteed @Sendable () -> () + 28
21  libdispatch.dylib             	       0x18597fcb8 _dispatch_call_block_and_release + 32
22  libdispatch.dylib             	       0x185981910 _dispatch_client_callout + 20
23  libdispatch.dylib             	       0x185984a5c _dispatch_queue_override_invoke + 928
24  libdispatch.dylib             	       0x1859931f4 _dispatch_root_queue_drain + 392
25  libdispatch.dylib             	       0x185993a04 _dispatch_worker_thread2 + 156
26  libsystem_pthread.dylib       	       0x185b2b0d8 _pthread_wqthread + 228
27  libsystem_pthread.dylib       	       0x185b29e30 start_wqthread + 8

Because class name that causes error is processForThinningVariant:distributionItem:stepClass:stepIndex:pipelineStepsCount:error:.

But Since I couldn't understand these code fully, I can't find any issue..

When I run this app with simulator or my device, it builds well and run successfully.

So I really can't know what is the problem.

Even I did all to set ios configuration for this package.

It works fine before but all of sudden, distribute app is not working even build is done.

Please please help me..

Sorry Step means step to export archive, not related to package 'pedometer'. After struggled with 4 days with this problem as changing a bunch of ios configuration, I just delete Xcode 15.3 and install 15.2 and succeeds. I also deleted Xcode 15.3 and install 15.3, It didn't work as well, which means there should be some bug in Xcode 15.3 deployed March 24. Please look through this problem..

Xcode crashes due to package based on back trace
 
 
Q