How do I solve "XPC connection interrupted" on iOS 13?

I have an iOS application that works perfectly on all versions of iOS under 12 , ON iOS 13 it stops responding (crash) when clicking on a button,
with an error XPC connection interrupted , my application uses both objective c and swift languages

Source: Ios