I'm really new into Development I have macos App I upload 2 builds to TestFlight were working Fine But the Third Build Crashed on TestFlight user Machine but on my machine working just fine from Xcode or TestFlight on my machine. Appreciate if someone helped here is crashlog:
Process: Shaheed [814]
Path: /Applications/Shaheed.app/Contents/MacOS/Shaheed
Identifier: com.inno.Shaheed
Version: 0.1 (4)
App Item ID: 6474969425
Code Type: ARM-64
Parent Process: launchd [1]
User ID: 501
Date/Time: 2024-02-05 20:19:32.6035 +0300
OS Version: macOS 14.2.1 (23C71)
Report Version: 12
Anonymous UUID:
Time Awake Since Boot: 270 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000019d3c51e8
Termination Reason: Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process: exc handler [814]
Thread 0 Crashed:
0 libswiftCore.dylib 0x000000019d3c51e8 _assertionFailure(_:_:file:line:flags:) + 268 (AssertCommon.swift:144)
1 SwiftData 0x00000001fed53e08 specialized static ModelContainer.currentContainer(_:) + 920 (ModelContainer.swift:144)
2 SwiftData 0x00000001fedd02d4 _DefaultBackingData.init(for:) + 364 (BackingData.swift:106)
3 SwiftData 0x00000001fedd50f0 _DefaultBackingData.__allocating_init(for:) + 60
4 SwiftData 0x00000001fed8aec0 static PersistentModel.createBackingData<A>() + 76 (PersistentModel.swift:42)
5 Shaheed 0x00000001026d9670 specialized ItemSD.init(id:supplierName:purchaseDate:unit:currency:name:quantity:price:salePrice:itemID:floor:container:cell:) + 576 (@__swiftmacro_7Shaheed6ItemSD5ModelfMm_.swift:2)
6 Shaheed 0x0000000102707798 ItemSD.init(id:supplierName:purchaseDate:unit:currency:name:quantity:price:salePrice:itemID:floor:container:cell:) + 100 (ItemModel.swift:0)
7 Shaheed 0x0000000102707798 ItemSD.__allocating_init(id:supplierName:purchaseDate:unit:currency:name:quantity:price:salePrice:itemID:floor:container:cell:) + 124 (ItemListView.swift:39)
8 Shaheed 0x0000000102707798 closure #1 in closure #2 in closure #1 in ItemListView.body.getter + 532
9 SwiftUI 0x00000001b9a7ac30 NavigationStack.init<>(root:) + 128 (NavigationStack.swift:126)
10 Shaheed 0x0000000102707574 closure #2 in closure #1 in ItemListView.body.getter + 92 (ItemListView.swift:38)
11 SwiftUI 0x00000001b9483a2c closure #1 in SheetPresentationModifier.body(content:) + 188 (SheetPresentation.swift:277)
12 SwiftUI 0x00000001b94835e4 SheetPresentationModifier.body(content:) + 960 (SheetPresentation.swift:276)
13 SwiftUI 0x00000001b881776c ModifierBodyAccessor.updateBody(of:changed:) + 1560 (CustomViewModifier.swift:293)
14 SwiftUI 0x00000001b9fca69c closure #1 in DynamicBody.updateValue() + 564 (DynamicProperty.swift:453)
15 SwiftUI 0x00000001b9fca214 DynamicBody.updateValue() + 664 (DynamicProperty.swift:445)
16 SwiftUI 0x00000001b9a4cb6c partial apply for implicit closure #1 in closure #1 in closure #1 in Attribute.init<A>(_:) + 32 (<compiler-generated>:0)
17 AttributeGraph 0x00000001ba5837a4 AG::Graph::UpdateStack::update() + 512 (ag-graph-update.cc:578)
18 AttributeGraph 0x00000001ba583fe0 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 424 (ag-graph-update.cc:719)
19 AttributeGraph 0x00000001ba592828 AG::Subgraph::update(unsigned int) + 848 (ag-subgraph.cc:752)
20 SwiftUI 0x00000001b9e8a2dc GraphHost.flushTransactions() + 384 (GraphHost.swift:617)
21 SwiftUI 0x00000001b9e8b7c0 closure #1 in closure #1 in closure #1 in closure #1 in GraphHost.asyncTransaction<A>(_:id:mutation:style:mayDeferUpdate:) + 24 (GraphHost.swift:540)
22 SwiftUI 0x00000001b95345ec partial apply for closure #1 in ViewGraphDelegate.updateGraph<A>(body:) + 28 (<compiler-generated>:0)
23 SwiftUI 0x00000001b9f60e84 closure #1 in ViewRendererHost.updateViewGraph<A>(body:) + 108 (ViewRendererHost.swift:139)
24 SwiftUI 0x00000001b9f5f6e0 ViewRendererHost.updateViewGraph<A>(body:) + 96 (ViewRendererHost.swift:136)
25 SwiftUI 0x00000001b952cdb4 ViewGraphDelegate.updateGraph<A>(body:) + 84 (ViewGraph.swift:34)
26 SwiftUI 0x00000001b9e8b788 closure #1 in closure #1 in closure #1 in GraphHost.asyncTransaction<A>(_:id:mutation:style:mayDeferUpdate:) + 200 (GraphHost.swift:539)
27 SwiftUI 0x00000001b9e8b674 closure #1 in closure #1 in GraphHost.asyncTransaction<A>(_:id:mutation:style:mayDeferUpdate:) + 72 (GraphHost.swift:538)
28 SwiftUI 0x00000001b97dc464 thunk for @escaping @callee_guaranteed () -> () + 28 (<compiler-generated>:0)
29 SwiftUI 0x00000001b8db3778 static NSRunLoop.flushObservers() + 116 (StandardLibraryAdditions.swift:903)
30 SwiftUI 0x00000001b8db36e4 closure #1 in static NSRunLoop.addObserver(_:) + 36 (StandardLibraryAdditions.swift:878)
31 SwiftUI 0x00000001b8db380c @objc closure #1 in static NSRunLoop.addObserver(_:) + 56 (<compiler-generated>:0)
32 CoreFoundation 0x000000018dbbadf0 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36 (CFRunLoop.c:1789)
33 CoreFoundation 0x000000018dbbacdc __CFRunLoopDoObservers + 532 (CFRunLoop.c:1902)
34 CoreFoundation 0x000000018dbb99f8 CFRunLoopRunSpecific + 684 (CFRunLoop.c:3423)
35 HIToolbox 0x0000000198168448 RunCurrentEventLoopInMode + 292 (EventLoop.c:455)
36 HIToolbox 0x00000001981680d8 ReceiveNextEventCommon + 220 (EventBlocking.c:311)
37 HIToolbox 0x0000000198167fdc _BlockUntilNextEventMatchingListInModeWithFilter + 76
Sorry for this long crashlog