Bug? Strange errors when running Debug

Discussion in 'iOS Bugs & Wishlist' started by skrjabin, Jul 26, 2019.

  1. skrjabin

    skrjabin Active Member Licensed User

    a very strange behavior. I just added the iJSON Library (Version: 1.01) to the project, and now I get this error log when debugging.

    Code:
    Copying updated assets files (130)
    Error occurred on line: 
    7 (Main)
    Class 
    not found: iFirebaseAnalytics
    Stack Trace: (
      CoreFoundation       <redacted> + 
    252
      libobjc.A.dylib      objc_exception_throw + 
    56
      CoreFoundation       <redacted> + 
    0
      B4i Example          -[B4IShell createObject:] + 
    208
      B4i Example          -[B4IShell raiseEventImpl:method:args::] + 
    1784
      B4i Example          -[B4IShellBI raiseEvent:
    event:params:] + 1580
      B4i Example          -[B4IStaticModule initializeModule] + 
    476
      B4i Example          -[b4i_main initializeStaticModules] + 
    80
      B4i Example          -[B4IShellBI raiseEvent:
    event:params:] + 240
      B4i Example          __
    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
     B4i Example          main + 
    124
     libdyld.dylib        <redacted> + 
    4
    )
    Application_Start
    Of course the iFirebaseAnalytics lib is included.
    After Clean Project the error log was another. It could not find a file. But the file was included in IDE FileManager and also in the Files sub folder.
    Than I removed the iJSON Library, same result. Added it again, same. But now after again "Clean project" the bridge just closes without any result. Only with Debug. Build release Server is OK. I am using hosted builder.

    Edited: I had similar problems earlier, and the advice was, to delete the app in the device. This helped also now. But it is not really a solution. I am losing all the app-data. Is there any, any other way, when this problem comes again?
     
    Last edited: Jul 26, 2019
  2. Erel

    Erel Administrator Staff Member Licensed User

    This error can happen if you have multiple debug apps installed. BTW, it shouldn't be a bug problem to uninstall your app and install it again. Your app should be able to run on new devices.
     
  3. skrjabin

    skrjabin Active Member Licensed User

    You mean, other B4i apps that are in debug mode on the device? So I will try to find them. B4X is really fun to work with. So I could live with this error. But I would feel better, if I could avoid it.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Yes. This is one of the possible causes of this error.
     
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