iOS Question Error in XUI library - maybe

mcGeorge

Member
Licensed User
Hi, I downloaded the example application for "[B4X] XUI Views - Cross platform views and dialogs" and start the build process. After it is installed on my iPhone it crashed immediately with the following error:

B4X:
Copying updated assets files (11)
Application_Start
Class (b4i_bcpath) instance released.
Error occurred on line: 55 (B4XSwitch)
Target is null. Method called: _initialize:::
Stack Trace: (
  CoreFoundation       2A356815-C9F4-3364-9AAC-B56FC2A4DD20 + 1254752
  libobjc.A.dylib      objc_exception_throw + 60
  CoreFoundation       2A356815-C9F4-3364-9AAC-B56FC2A4DD20 + 138848
  B4i Example          +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 192
  B4i Example          -[B4ICustomViewWrapper AfterDesignerScript] + 2076
  B4i Example          -[B4ILayoutBuilder loadLayout:::] + 2892
  B4i Example          -[B4IPanelWrapper LoadLayout::] + 204
  B4i Example          -[b4i_main _application_start:] + 1008
  CoreFoundation       2A356815-C9F4-3364-9AAC-B56FC2A4DD20 + 1281140
  CoreFoundation       2A356815-C9F4-3364-9AAC-B56FC2A4DD20 + 7112
 B4i Example          +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1624
 B4i Example          -[B4IShell runMethod:] + 448
 B4i Example          -[B4IShell raiseEventImpl:method:args::] + 2172
 B4i Example          -[B4IShellBI raiseEvent:event:params:] + 1580
 B4i Example          __33-[B4I raiseUIEvent:event:params:]_block_invoke + 60
 libdispatch.dylib    1266FC1D-1C06-3A03-9DD9-11A3C5C1C3BB + 7212
 libdispatch.dylib    1266FC1D-1C06-3A03-9DD9-11A3C5C1C3BB + 12424
 libdispatch.dylib    _dispatch_main_queue_callback_4CF + 968
 CoreFoundation       2A356815-C9F4-3364-9AAC-B56FC2A4DD20 + 710400
 CoreFoundation       2A356815-C9F4-3364-9AAC-B56FC2A4DD20 + 689244
 CoreFoundation       CFRunLoopRunSpecific + 480
 GraphicsServices     GSEventRunModal + 108
 UIKitCore            UIApplicationMain + 1940
 B4i Example          main + 124
 libdyld.dylib        B4D308AE-C33B-33ED-A2D3-D362FFC4327D + 3844
)
Application_Active
Any idea what's the reason?

Thanks in advance.
George
 
Top