iOS Question class not found

tufanv

Expert
Licensed User
Longtime User
Hello,

With facebook lib i am always getting class not found error and i have to clean project and re compile maybe every 2 attempts. This very rarely happens with iloadingindicator maybe 1 in 10 attempts but facebook lib does this too much. Is there a reason for this ? or a solution to fix ?

TY
 

tufanv

Expert
Licensed User
Longtime User
Hi,

you have to use iFacebook along with iFirebaseAuth and iFirebaseAnalytics.

Jan
Yeah i know. I am using it with them. But sometimes the app gives error "class not found" ifacebook and i have to clean the project and recompile. This happens on random basis . And this is happening with all my apps sometimes.
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
Yeah i know. I am using it with them. But sometimes the app gives error "class not found" ifacebook and i have to clean the project and recompile. This happens on random basis . And this is happening with all my apps sometimes.
exact error is like this:
B4X:
Copying updated assets files (8)
Error occurred on line: 62 (Main)
Class not found: iFacebook
Stack Trace: (
  CoreFoundation       <redacted> + 154
  libobjc.A.dylib      objc_exception_throw + 38
  CoreFoundation       <redacted> + 0
  B4i Example          -[B4IShell createObject:] + 206
  B4i Example          -[B4IShell raiseEventImpl:method:args::] + 2062
  B4i Example          -[B4IShellBI raiseEvent:event:params:] + 1442
  B4i Example          -[B4IStaticModule initializeModule] + 544
  B4i Example          -[b4i_main initializeStaticModules] + 88
  B4i Example          -[B4IShellBI raiseEvent:event:params:] + 230
  B4i Example          __33-[B4I raiseUIEvent:event:params:]_block_invoke + 74
libdispatch.dylib    <redacted> + 10
libdispatch.dylib    <redacted> + 22
libdispatch.dylib    _dispatch_main_queue_callback_4CF + 890
CoreFoundation       <redacted> + 8
CoreFoundation       <redacted> + 1422
CoreFoundation       CFRunLoopRunSpecific + 486
CoreFoundation       CFRunLoopRunInMode + 104
GraphicsServices     GSEventRunModal + 156
UIKit                <redacted> + 574
UIKit                UIApplicationMain + 150
B4i Example          main + 106
libdyld.dylib        <redacted> + 2
)
Application_Start
Application_Active

every 2 or 3 compile i get this
 
Last edited:
Upvote 0

tufanv

Expert
Licensed User
Longtime User
I have a very big project which i cant put here ( because every project of mine which uses facebook is very big ) and to add with a new app , hard to configure.
This problem also occurs with iloadingindicatorview but not as much as facebook. If you like i can send you one of the full projects to your email.
Can you upload an example that reproduces this error?
 
Upvote 0
Top