dyld__abort_with_payload Thread 1: signal SIGABRT

Xcode 9.3, Swift 4.1

I have written an application for IOS (using swift) with an ObjectiveC Framework (called  SolarMaxIosFramework),
This framework is made with reused classes from a previous project on Mac (Objective C)
This new application works fine on simulator, and as soon as I want to execute on my Iphone (real),
I get an error message and this app is not launched.


These errors can be resumed as follows:


dyld`__abort_with_payload:

    0x1016162f0 <+0>:  mov    x16, #0x209

    0x1016162f4 <+4>:  svc    #0x80

->  0x1016162f8 <+8>:  b.lo   0x101616310               ; <+32> Thread 1: signal SIGABRT


dyld`abort_with_payload_wrapper_internal:

...

0x101615acc <+96>:  bl 0x1016162f0          ; __abort_with_payload

->  0x101615ad0 <+100>: bl 0x1016164c4           ; getpid  Thread 1: signal SIGABRT


dyld`abort_with_payload:                          Thread 1: signal SIGABRT

0x101615af0 <+0>: stp x29, x30, [sp, #-0x10]!

0x101615af4 <+4>: mov x29, sp

0x101615af8 <+8>: bl 0x101615a6c          ; abort_with_payload_wrapper_internal


dyld`dyld::halt:                                            Thread 1: signal SIGABRT


dyld`dyld::_main:

...

0x1015ef4c8 <+7148>: bl 0x1015ec1dc           ; dyld::halt(char const*)

->  0x1015ef4cc <+7152>: mov x20, x0                               Thread 1: signal SIGABRT


dyld`_dyld_start:


0x1015e9218 <+64>:  bl 0x1015e9260        

; dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*)

->  0x1015e921c <+68>:  mov x16, x0         Thread 1: signal SIGABRT


I have tried to record my framework in the bundle but it did not work


Some post speak about declaring this framework as embeded , but I do not know how to do so


Thanks for your help

Replies

Hi, I have found the solution and the place to declare the embedded framework It was in XCode min settings "general / Embedded binaries Everything is OK now Thanks to all

I got the same warning without using any frameworks. I just added a new watchos app to the project and the ios app runs fine but the watch app refuse to advance any further than the splash screen.