iOS Question Something wrong with B4i

Chris Guanzon

Active Member
Licensed User
Hello, my project is working yesterday, but today I tried running it but I got an error. It says that the main.bil is missing. I checked the file tab and it's there. I can also open it, so that means it is not corrupted. I cleaned the project and run again, still the same. anyone knows how to fix this?

B4X:
Application_Start
Error occurred on line: 14 (Home)
Error opening stream (/private/var/mobile/Containers/Data/Application/95D7F54E-8E26-4D69-919B-4837667D7F9F/tmp/virtual_assets/main.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
  All Access Mobile    -[B4IFile OpenInput::] + 412
  All Access Mobile    -[B4ILayoutBuilder loadLayout:::] + 560
  All Access Mobile    -[B4IPanelWrapper LoadLayout::] + 220
  All Access Mobile    -[b4i_home _show] + 592
  All Access Mobile    -[b4i_main _application_start:] + 800
  CoreFoundation       <redacted> + 144
  CoreFoundation       <redacted> + 292
All Access Mobile    +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1528
All Access Mobile    -[B4IShell runMethod:] + 448
All Access Mobile    -[B4IShell raiseEventImpl:method:args::] + 2172
All Access Mobile    -[B4IShellBI raiseEvent:event:params:] + 1580
All Access Mobile    __33-[B4I raiseUIEvent:event:params:]_block_invoke + 56
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
All Access Mobile    main + 128
libdyld.dylib        <redacted> + 4
)
Application_Active
Edit: Not just my main.bil but also other designerfile. 😭
 
Last edited:
Top