Chris Hansen
Chris Hansen

Reputation: 8687

Undefined symbol: _OBJC_CLASS_$_FlurryMessaging

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?

Upvotes: 2

Views: 786

Answers (1)

Hunter
Hunter

Reputation: 579

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]

Upvotes: 1

Related Questions