I’m compiling a fat framework for iOS and the erro...
# kotlin-native
s
I’m compiling a fat framework for iOS and the errors that I’m getting are obfuscated. How do I get non-obfuscated errors from a locally built
.framework
?
Copy code
Uncaught Kotlin exception: kotlin.native.IncorrectDereferenceException: illegal attempt to access non-shared $emit_2$<anonymous>_7$FUNCTION_REFERENCE$11@131d88 from other thread
        at 0   RallyCoaching                       0x00000001109678c7 kfun:kotlin.Throwable.<init>(kotlin.String?)kotlin.Throwable + 87
        at 1   RallyCoaching                       0x000000011095a695 kfun:kotlin.Exception.<init>(kotlin.String?)kotlin.Exception + 85
        at 2   RallyCoaching                       0x000000011095a8b5 kfun:kotlin.RuntimeException.<init>(kotlin.String?)kotlin.RuntimeException + 85
        at 3   RallyCoaching                       0x00000001109a95d5 kfun:kotlin.native.IncorrectDereferenceException.<init>(kotlin.String)kotlin.native.IncorrectDereferenceException + 85
        at 4   RallyCoaching                       0x00000001109b28f8 ThrowIllegalObjectSharingException + 744
        at 5   RallyCoaching                       0x0000000110da6410 _ZNK16KRefSharedHolder3refEv + 80
        at 6   RallyCoaching                       0x000000011067c03a _ZL39Kotlin_Interop_unwrapKotlinObjectHolderP11objc_object + 42
        at 7   RallyCoaching                       0x000000011066091a _636c69656e74_knbridge9 + 138
        at 8   libdispatch.dylib                   0x000000011852fdd4 _dispatch_call_block_and_release + 12
        at 9   libdispatch.dylib                   0x0000000118530d48 _dispatch_client_callout + 8
        at 10  libdispatch.dylib                   0x000000011853ede6 _dispatch_main_queue_callback_4CF + 1500
        at 11  CoreFoundation                      0x00007fff23bb1df9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
        at 12  CoreFoundation                      0x00007fff23baca59 __CFRunLoopRun + 2329
        at 13  CoreFoundation                      0x00007fff23babe16 CFRunLoopRunSpecific + 438
        at 14  GraphicsServices                    0x00007fff38438bb0 GSEventRunModal + 65
        at 15  UIKitCore                           0x00007fff4784fb48 UIApplicationMain + 1621
        at 16  RallyCoaching                       0x000000010fb158eb main + 75 (/Users/scott.pierce/workspace/Rally/coaching-ios/RallyCoaching/Support Files/AppDelegate.swift:22:7)
        at 17  libdyld.dylib                       0x00007fff51a1dc25 start + 1
nevermind - Carthage started pulling it in when I put it in the right place