iOS Question symbol(s) not found for architecture x86_64

hongbii khaw

Member
Licensed User
Longtime User
Hi, I'm using a local Mac Builder,
I downloaded the FirebaseMacFrameworks2 and Mac-Wrappers and put it in the Mac Lib,
I downloaded the PC-Libraries and put it in the B4i Lib,
But I still get the error when I build the project:
B4X:
ld: warning: Auto-Linking framework not found CoreServices
Undefined symbols for architecture x86_64:
  "_FIRAuthStateDidChangeInternalNotification", referenced from:
      ___50-[FIRAuth possiblyPostAuthStateChangeNotification]_block_invoke in FirebaseAuth(FIRAuth.o)
  "_FIRAuthStateDidChangeInternalNotificationAppKey", referenced from:
      -[FIRAuth possiblyPostAuthStateChangeNotification] in FirebaseAuth(FIRAuth.o)
  "_FIRAuthStateDidChangeInternalNotificationTokenKey", referenced from:
      -[FIRAuth possiblyPostAuthStateChangeNotification] in FirebaseAuth(FIRAuth.o)
  "_FIRAuthStateDidChangeInternalNotificationUIDKey", referenced from:
      -[FIRAuth possiblyPostAuthStateChangeNotification] in FirebaseAuth(FIRAuth.o)
  "_FIRLogBasic", referenced from:
      -[FIRMessagingLogger logFuncDebug:messageCode:msg:] in FirebaseMessaging(FIRMessagingLogger.o)
      -[FIRMessagingLogger logFuncInfo:messageCode:msg:] in FirebaseMessaging(FIRMessagingLogger.o)
      -[FIRMessagingLogger logFuncNotice:messageCode:msg:] in FirebaseMessaging(FIRMessagingLogger.o)
      -[FIRMessagingLogger logFuncWarning:messageCode:msg:] in FirebaseMessaging(FIRMessagingLogger.o)
      -[FIRMessagingLogger logFuncError:messageCode:msg:] in FirebaseMessaging(FIRMessagingLogger.o)
  "_FIRLogDebug", referenced from:
      +[FIRAuthAPNSTokenManager isProductionApp] in FirebaseAuth(FIRAuthAPNSTokenManager.o)
  "_FIRLogError", referenced from:
      ___34-[FIRAuth initWithAPIKey:appName:]_block_invoke in FirebaseAuth(FIRAuth.o)
  "_FIRLogInfo", referenced from:
      -[FIRAuth scheduleAutoTokenRefreshWithDelay:retry:] in FirebaseAuth(FIRAuth.o)
      ___47-[FIRAuth getTokenForcingRefresh:withCallback:]_block_invoke in FirebaseAuth(FIRAuth.o)
      +[FIRAuthAPNSTokenManager isProductionApp] in FirebaseAuth(FIRAuthAPNSTokenManager.o)
  "_FIRLogNotice", referenced from:
      -[FIRUser signOutIfTokenIsInvalidWithError:] in FirebaseAuth(FIRUser.o)
  "_FIRLogWarning", referenced from:
      ___70-[FIRAuthNotificationManager checkNotificationForwardingWithCallback:]_block_invoke in FirebaseAuth(FIRAuthNotificationManager.o)
      ___62-[FIRPhoneAuthProvider verifyClientWithUIDelegate:completion:]_block_invoke_3 in FirebaseAuth(FIRPhoneAuthProvider.o)
  "_OBJC_CLASS_$_FIRApp", referenced from:
      objc-class-ref in libiFirebaseAuth.a(iFirebaseAuth.o)
      objc-class-ref in FirebaseMessaging(FIRMessaging.o)
      objc-class-ref in FirebaseAuth(FIRAuth.o)
  "_OBJC_CLASS_$_FIRComponent", referenced from:
      objc-class-ref in FirebaseMessaging(FIRMessaging.o)
      objc-class-ref in FirebaseAuth(FIRAuth.o)
  "_OBJC_CLASS_$_FIRComponentType", referenced from:
      objc-class-ref in FirebaseMessaging(FIRMessaging.o)
      objc-class-ref in FirebaseAuth(FIRAuth.o)
  "_OBJC_CLASS_$_FIRDependency", referenced from:
      objc-class-ref in FirebaseMessaging(FIRMessaging.o)
  "_OBJC_CLASS_$_FIRInstanceID", referenced from:
      objc-class-ref in FirebaseMessaging(FIRMessaging.o)
      objc-class-ref in FirebaseMessaging(FIRMessagingTopicOperation.o)
      objc-class-ref in FirebaseMessaging(FIRMessagingClient.o)
  "_OBJC_CLASS_$_GULAppDelegateSwizzler", referenced from:
      objc-class-ref in FirebaseMessaging(FIRMessaging.o)
      objc-class-ref in FirebaseMessaging(FIRMessagingContextManagerService.o)
      objc-class-ref in FirebaseMessaging(FIRMessagingAnalytics.o)
      objc-class-ref in FirebaseMessaging(FIRMessagingRemoteNotificationsProxy.o)
      objc-class-ref in FirebaseAuth(FIRAuth.o)
  "_OBJC_CLASS_$_GULAppEnvironmentUtil", referenced from:
      objc-class-ref in FirebaseAuth(FIRAuth.o)
      objc-class-ref in FirebaseAuth(FIRAuthAPNSTokenManager.o)
      objc-class-ref in FirebaseAuth(FIRAuthDefaultUIDelegate.o)
  "_OBJC_CLASS_$_GULReachabilityChecker", referenced from:
      objc-class-ref in FirebaseMessaging(FIRMessaging.o)
  "_OBJC_CLASS_$_GULUserDefaults", referenced from:
      objc-class-ref in FirebaseMessaging(FIRMessaging.o)
      objc-class-ref in FirebaseMessaging(FIRMessagingPubSub.o)
  "_kFIRLoggerAuth", referenced from:
      ___34-[FIRAuth initWithAPIKey:appName:]_block_invoke in FirebaseAuth(FIRAuth.o)
      -[FIRAuth scheduleAutoTokenRefreshWithDelay:retry:] in FirebaseAuth(FIRAuth.o)
      ___47-[FIRAuth getTokenForcingRefresh:withCallback:]_block_invoke in FirebaseAuth(FIRAuth.o)
      +[FIRAuthAPNSTokenManager isProductionApp] in FirebaseAuth(FIRAuthAPNSTokenManager.o)
      ___70-[FIRAuthNotificationManager checkNotificationForwardingWithCallback:]_block_invoke in FirebaseAuth(FIRAuthNotificationManager.o)
      ___62-[FIRPhoneAuthProvider verifyClientWithUIDelegate:completion:]_block_invoke_3 in FirebaseAuth(FIRPhoneAuthProvider.o)
      -[FIRUser signOutIfTokenIsInvalidWithError:] in FirebaseAuth(FIRUser.o)
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Error: ** BUILD FAILED **


The following build commands failed:
    Ld Payload/TestApp.app/TestApp normal x86_64
(1 failure)

I need your help, thanks
 
Top