After updating to the latest B4i, my App is now crashing on startup.
This is the error:
This line:
This app was working fine before. I added some additional code, but I have not changed the layouts at all.
any ideas?
Edit: Works fine in release mode. Its a Debug mode bug.
This is the error:
B4X:
Application_Start
Error occurred on line: 172 (Main)
Error opening stream (/private/var/mobile/Containers/Data/Application/486CA0FC-72B3-4871-8471-5C3DAC242626/tmp/virtual_assets/rootpanel.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
MD Football -[B4IFile OpenInput::] + 440
MD Football -[B4ILayoutBuilder loadLayout:::] + 652
MD Football -[B4IPanelWrapper LoadLayout::] + 204
MD Football -[b4i_main _application_start:] + 1144
CoreFoundation <redacted> + 144
CoreFoundation <redacted> + 292
MD Football +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1624
MD Football -[B4IShell runMethod:] + 448
MD Football -[B4IShell raiseEventImpl:method:args::] + 2172
MD Football -[B4IShellBI raiseEvent:event:params:] + 1580
MD Football __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
MD Football main + 124
libdyld.dylib <redacted> + 4
)
Application_Active
This line:
B4X:
Page1.RootPanel.LoadLayout("RootPanel")
This app was working fine before. I added some additional code, but I have not changed the layouts at all.
any ideas?
Edit: Works fine in release mode. Its a Debug mode bug.
Last edited: