Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_ASWebAuthenticationSession"

Viewed 1342

I am using OneSignal for remote notifications. And using appCenter pod for analytics and crashes. But it seems I'm not able to link OneSignalNotificationServiceExtension(x86_64). it gives the following warning:

Undefined symbols for architecture x86_64: "OBJC_CLASS$_ASWebAuthenticationSession", referenced from: objc-class-ref in AppCenterDistribute(MSACDistribute.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

It was previously working fine. It seems it got messed up when I updated the pods. Notes:

-pod 'OneSignal', '>= 3.0.0'

  • pod 'AppCenter' pod 'AppCenter/Analytics' pod 'AppCenter/Crashes' pod 'AppCenter/Distribute'

  • using Xcode 12

  • AppCenter/Analytics (3.1.1):

    • AppCenter/Core
    • AppCenter/Core (3.1.1)
    • AppCenter/Crashes (3.1.1):
      • AppCenter/Core
    • AppCenter/Distribute (3.1.1):
      • AppCenter/Core

Please let me know how to solve it. I have deintegrated and re-installed the pods several times.

0 Answers
Related