Undefined symbol: _OBJC_CLASS_$_FlurryMessaging - swift

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?

I am an engineer on Flurry's SDK team. Based on your description you are using Swift Package Manager?
Make sure you have imported Flurry analytics and messaging:
Add a import statement for messaging:
import Flurry_iOS_SDK
import Flurry_Messaging
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:
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 support#flurry.com

Related

SwiftUI: No such Module 'FirebaseAuth'

I've run into a strange issue when trying to setup Firebase sign in with Apple functionality in my app.
It is required to import FirebaseAuth for OAuth functionality. When I try importing it I get the error : "No such Module 'FirebaseAuth'". I have added the package dependencies with package manager and FirebaseAuth is there... but it still gives the error. See screenshot below.
Simply importing Firebase does not give an import error, however I still get errors when trying to use the Authentication functionality. See screenshot below
I've looked for solutions elsewhere but others who have had the same issue as me used Cocoapods to install the packages so their solutions don't apply here.
I am using Xcode 13.0
I fixed the issue by adding FirebaseAuth dependency in build phases:

Firebase SPM brings lots of Warning under iOS15

Using XCode13.1, iOS15.1, Swift5.5.1 :
The Swift Package Manager is great and it improved again under iOS15.
However, my observation is that even big companies do not fully embrace its usage.
One painful experience at the moment is: Google Firebase integration with SPM.
It is mostly their sub-dependencies that cause lots of Warning messages inside Xcode.
Google Firebase 8.9.1 integration with Swift Package Manager uses the following two sub-dependencies :
abseil 0.20200225.3
BoringSSL-GRPC 0.7.1
others...
In the Project Navigator of Xcode you can immediately see the Warning-Signs.
When compiling my project there are 37 Warnings due to the two above sub-dependencies of Firebase. The compiler prints the following warnings:
What is there to do ?
When is Google updating their Firebase dependencies appropriate for iOS15 ?
In Xcode, do File -> Packages -> Update to latest Package Versions to get the fixes in abseil 0.202200225.4, BoringSSL-GRPC 0.7.2, etc.

Error: package com.huawei.hms.maps.util does not exist when using HMS Map SDK 5.1

My Android app worked well with Huawei Map SDK 5.0.0 or lower version. When upgrading to Map SDK 5.0.1 or above version however, I get the error: package com.huawei.hms.maps.util does not exist when using:
import com.huawei.hms.maps.util.LogM;
import com.huawei.hms.maps.util.AssetBitmapDescriptor;
I tried several solutions, but none of them worked. Can someone help?
To resolve the issues on your Android app when using Huawei Map SDK 5.0.1 or above, you need to do the followings:
use Android API android.util.Log to replace com.huawei.hms.maps.util.LogM
for com.huawei.hms.maps.util.AssetBitmapDescriptor, use the corresponding method in BitmapDescriptorFactory to replace it. Please refer to the links for details:
Link 1 and link2.

I cannot install the facebook SDK for swift

I have tried to install the swift SDK several times as described (https://developers.facebook.com/docs/swift/getting-started) step by step but when I try to connect App Delegate I always receive the warning "Use of unresolved identifier 'SDKApplicationDelegate'...". Also any other method from the imported FacebookCore seems to be unknown.
Thanks a ton for any help
Franz
(Xcode 10.2.1, Swift 5)
Does your project build after you've imported the pod's?
Make sure you are importing the library at the top of AppDelegate with
import FacebookCore

When Update to Latest Xcode Getting Error: "could not build objective-c module csqlite"

Updated to latest xcode version and swift sdk now getting error could not build objective-c module 'csqlite' i am using Sqlite Library using CocoaPods i.e pod 'SQLite.swift'
After searching losts of material online i have found the solution fortunately not answer at stackoverflow. I just replaced three import statements from import CSQLite to "import SQLite3" resolved the problem for me.
Adding answer for helping others having same issue.
Thanks Peace