deduplicated_symbol error

HI, I have a Swift UI app in the mac appstore in the upcoming release we have made lots of changes and it is working fine in debug mode but in production with testflight or direct distribution we are getting the following crash while working in the app. this is happening in the rendering phase.

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libswiftCore.dylib            	       0x19546f270 swift_unknownObjectRetain + 44
1   libswiftCore.dylib            	       0x1954bb09c swift_cvw_initWithCopyImpl(swift::OpaqueValue*, swift::OpaqueValue*, swift::TargetMetadata<swift::InProcess> const*) + 280
2   libswiftCore.dylib            	       0x1958f685c initializeWithCopy for ClosedRange<>.Index + 212
3   VirtualProg                   	       0x104d73958 <deduplicated_symbol> + 56

How can i debug to find out what is causing the issue and fix it?. thanks in advance

deduplicated_symbol error
 
 
Q