0__abort_with_payload error

I have written an application for IOS (using swift UI) This new application works fine on simulator, and as soon as I want to execute on my Iphone (real) it launches but when I press one of the buttons to launch the camera I get an error message .

libsystem_kernel.dylib`: 0x1c6765310 <+0>: mov x16, #0x209 0x1c6765314 <+4>: svc #0x80 -> 0x1c6765318 <+8>: b.lo 0x1c6765338 ; <+40> 0x1c676531c <+12>: pacibsp 0x1c6765320 <+16>: stp x29, x30, [sp, #-0x10]! 0x1c6765324 <+20>: mov x29, sp 0x1c6765328 <+24>: bl 0x1c673b1e0 ; cerror_nocancel 0x1c676532c <+28>: mov sp, x29 0x1c6765330 <+32>: ldp x29, x30, [sp], #0x10 0x1c6765334 <+36>: retab
0x1c6765338 <+40>: ret

this app uses the camera when I uses it in the simulator it even show the camera view but with real iPhone it freezes and this error shows , I would appreciate if you could help me.

0__abort_with_payload error
 
 
Q