Undefined symbol: _OBJC_CLASS_$_FlurryMessaging

658 Views Asked by At

I recently upgrade Xcode to 14.X, and I'm getting the following error when building

Undefined symbol: _OBJC_CLASS_$_FlurryMessaging

Seems like Flurry package doesn't support Xcode. What should I do?

1

There are 1 best solutions below

2
Hunter On

I am an engineer on Flurry's SDK team. Based on your description you are using Swift Package Manager?

  1. Make sure you have imported Flurry analytics and messaging: enter image description here

  2. Add a import statement for messaging:

    import Flurry_iOS_SDK

    import Flurry_Messaging

  3. Note Flurry Messaging is only supported on iOS and tvOS


For Cocoapods you need have the following in your Podfile:

pod 'Flurry-iOS-SDK/FlurryMessaging'

You should see the frameworks here:

enter image description here

Otherwise the instructions are the same as the above.

I have sample code for Flurry Messaging implementation here:

https://github.com/flurrydev/iOS-Push-notification-sample-swift

If this doesn't clear up the issue for you reach out to me at [email protected]