Forum Xamarin Xamarin.Forms

iOS app crashes suddenly.

salmanksalmank Member ✭✭

App works fine but sometime it crashes in iphone X. Its totally unexpected and there is no method to reproduce it. This is stack trace message:
Application.Main (System.String[] args)
SIGABRT: Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: Engine marked as needing optimization even though it's already in progress. Native stack trace: 0 CoreFoundation 0x000000019e01e3c0 + 256 1 libobjc.A.dylib 0x000000019d223d00 objc_exception_throw + 60 2 CoreFoundation 0x000000019df33780 + 0 3 Foundation 0x000000019ea0e32


Best Answer


  • JohnHardmanJohnHardman GBUniversity admin
    edited June 2019


    Is your app, by any chance, updating the UI from a non-UI thread?

  • salmanksalmank Member ✭✭

    Sorry by mistakenly accepted the answer

  • salmanksalmank Member ✭✭

    @ColeX Currently client is using Iphone X so dont know about other iPhones.
    @JohnHardman No, I don't think so.

  • MudassirMudassir Member

    Guys, you find any solution to this? Am also experiencing the same crash.
    Device: iPhone XS
    OS: iOS 13.1.2

Sign In or Register to comment.