iOS Question Difficulty with DEBUG

Discussion in 'iOS Questions' started by Star-Dust, Dec 4, 2019 at 6:33 PM.

  1. Star-Dust

    Star-Dust Expert Licensed User

    I developed an app that works correctly in release mode.
    In debug mode it signals me this error.
    Copying updated assets files (1)
    Application_Start
    Ignoring release logger in debug mode.
    Error occurred on line: 33 (NomiView)
    Error opening stream (/private/var/mobile/Containers/Data/Application/CAF0D960-DED7-4288-9727-B7C15EED501F/tmp/virtual_assets/nomi.bil): Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory" UserInfo={_kCFStreamErrorCodeKey=2, _kCFStreamErrorDomainKey=1}
    Stack Trace: (
    CoreFoundation <redacted> + 252
    libobjc.A.dylib objc_exception_throw + 56
    CoreFoundation <redacted> + 0
    Discorsi Pubblici -[B4IFile OpenInput::] + 440
    Discorsi Pubblici -[B4ILayoutBuilder loadLayout:::] + 652
    Discorsi Pubblici -[B4IPanelWrapper LoadLayout::] + 204
    Discorsi Pubblici -[B4XViewWrapper LoadLayout::] + 100
    CoreFoundation <redacted> + 144
    CoreFoundation <redacted> + 292
    Discorsi Pubblici +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1624
    Discorsi Pubblici -[B4IShell runMethod:] + 448
    Discorsi Pubblici -[B4IShell raiseEventImpl:method:args::] + 2172
    Discorsi Pubblici -[B4IShellBI raiseEvent:event:params:] + 1580
    Discorsi Pubblici -[B4ICustomViewWrapper AfterDesignerScript] + 1828
    Discorsi Pubblici -[B4ILayoutBuilder loadLayout:::] + 2892
    Discorsi Pubblici -[B4IPanelWrapper LoadLayout::] + 204
    Discorsi Pubblici -[b4i_main _application_start:] + 2092
    CoreFoundation <redacted> + 144
    CoreFoundation <redacted> + 292
    Discorsi Pubblici +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1624
    Discorsi Pubblici -[B4IShell runMethod:] + 448
    Discorsi Pubblici -[B4IShell raiseEventImpl:method:args::] + 2172
    Discorsi Pubblici -[B4IShellBI raiseEvent:event:params:] + 1580
    Discorsi Pubblici __33-[B4I raiseUIEvent:event:params:]_block_invoke + 60
    libdispatch.dylib <redacted> + 24
    libdispatch.dylib <redacted> + 16
    libdispatch.dylib <redacted> + 1068
    CoreFoundation <redacted> + 12
    CoreFoundation <redacted> + 1924
    CoreFoundation CFRunLoopRunSpecific + 436
    GraphicsServices GSEventRunModal + 104
    UIKitCore UIApplicationMain + 212
    Discorsi Pubblici main + 124
    libdyld.dylib <redacted> + 4
    )

    Why?

    PS. If I delete the NomiView Custom View the error signals it in another view, eliminating one by one it always signals it to the next one. But there is no error, you see that in Release mode everything works correctly
     
  2. Pendrush

    Pendrush Well-Known Member Licensed User

    Uninstall app from device, then clear project (CTRL + P) and run it again.
     
  3. Star-Dust

    Star-Dust Expert Licensed User

    Done. Unfortunately now it broken even in release
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Which error do you get in release mode?
     
  5. Star-Dust

    Star-Dust Expert Licensed User

    It closes without giving an error, after just 1 second
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    And you still get the same error in debug mode?
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice