iOS Question B4IRDebugUtils unrecognized selector

azzam223

Active Member
Licensed User
Longtime User
hello every one i have problem after update libs and b4i
B4X:
:(null),0
-[B4IRDebugUtils setCurrentModule:]: unrecognized selector sent to instance 0x60000220cce0
Stack Trace: (
  CoreFoundation       __exceptionPreprocess + 350
  libobjc.A.dylib      objc_exception_throw + 48
  CoreFoundation       -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
  CoreFoundation       ___forwarding___ + 1436
  CoreFoundation       _CF_forwarding_prep_0 + 120
  hajj                 -[b4i_main _process_globals] + 335
  hajj                 -[B4IStaticModule initializeModule] + 50
  hajj                 -[b4i_main initializeStaticModules] + 62
  hajj                 -[B4IShellBI raiseEvent:event:params:] + 233
  hajj                 __33-[B4I raiseUIEvent:event:params:]_block_invoke + 51
 libdispatch.dylib    _dispatch_call_block_and_release + 12
 libdispatch.dylib    _dispatch_client_callout + 8
 libdispatch.dylib    _dispatch_main_queue_callback_4CF + 1042
 CoreFoundation       __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
 CoreFoundation       __CFRunLoopRun + 2041
 CoreFoundation       CFRunLoopRunSpecific + 404
 GraphicsServices     GSEventRunModal + 139
 UIKitCore            UIApplicationMain + 1605
 hajj                 main + 112
 libdyld.dylib        start + 1
)
SignalHandler 6

how i can fix it
 

azzam223

Active Member
Licensed User
Longtime User
2. Make sure that there is no invalid code there. The globals subs should only be used to declare variables.
all code in Process_Globals is valid and only declared variable
B4X:
Public App As Application
    Public NavControl As NavigationController
    Private Page1 As Page
    Public blnstart As Boolean
    Private imgsplash As ImageView
    Private btnSwitch As ImageView
    Private pnlSetting As Panel
    Private pnlSevices As Panel
    Private WebView1 As WebView
    Public id As Int
    Private ImageSlider1 As ImageView
    Public Tmnotify As Timer
1. Does it work in release mode?
yes work
 
Upvote 0

azzam223

Active Member
Licensed User
Longtime User
no i can not i use mac 10.16 and xcode 11.6 now ,before i update the b4i i use mac 10.13 and xcode 8 the project was work in previous version but not now not work
 
Upvote 0
Top