iOS Question Admob Consent Code Breaks the app

tufanv

Expert
Licensed User
Longtime User
Hello,

In some of my apps consent code works great but in some of them when I add the code I started to get:

B4X:
Application_Start
Configuring the default app.

Consent state: 0
true
Error occurred on line: 59 (SearchView)
*** -[NSBundle initWithURL:]: nil URL argument
Stack Trace: (
  CoreFoundation       <redacted> + 252
  libobjc.A.dylib      objc_exception_throw + 56
  CoreFoundation       <redacted> + 0
  Foundation           <redacted> + 104
  Foundation           <redacted> + 48
  Converter            -[PACView loadWebView] + 128
  Converter            __53-[PACView loadWithFormInformation:completionHandler:]_block_invoke + 228
  libdispatch.dylib    <redacted> + 24
  libdispatch.dylib    <redacted> + 16
  libdispatch.dylib    <redacted> + 964
 CoreFoundation       <redacted> + 12
 CoreFoundation       <redacted> + 2272
 CoreFoundation       CFRunLoopRunSpecific + 552
 GraphicsServices     GSEventRunModal + 100
 UIKit                UIApplicationMain + 236
 Converter            main + 124
 libdyld.dylib        <redacted> + 4
)
SignalHandler 6

it has nothing to do with the searchview I think , it gives the error for searchview sometimes and some other times very random subs. When I just delete the consent code from start and disable the loadad sub , app works fine.
what may be the problem ?

Ty
 
Top