I am trying to integrate a new framework to the iOS project that Unity generates, but the moment I add a Swift file to the framework I get the runtime exception below:
dyld`__abort_with_payload:
0x10311dcb4 <+0>: movz x16, #0x209
0x10311dcb8 <+4>: svc #0x80
-> 0x10311dcbc <+8>: b.lo 0x10311dcd4 ; <+32>
0x10311dcc0 <+12>: stp x29, x30, [sp, #-16]!
0x10311dcc4 <+16>: mov x29, sp
...
iOS runtime crash with Swift framework
dyld`__abort_with_payload:
0x10311dcb4 <+0>: movz x16, #0x209
0x10311dcb8 <+4>: svc #0x80
-> 0x10311dcbc <+8>: b.lo 0x10311dcd4 ; <+32>
0x10311dcc0 <+12>: stp x29, x30, [sp, #-16]!
0x10311dcc4 <+16>: mov x29, sp
...
iOS runtime crash with Swift framework