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

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

Related

CocoaLumberjack/DDFileLogger.h' file not found

i'm new in swift. I tried to run a project, but i got an error "CocoaLumberjack/DDFileLogger.h not found". I installed package through SPM and it installed perfectly fine, but when i try to import this, it keeps giving me an error. My xcode version is 13.0 and i'm working on mac big sur, could it be a problem with version or with m1?
If you're working in swift, you need to
import CocoaLumberjackSwift
see: CocoaLumberjack README

Apple Swift-Format tool for Xcode 11.4

Uses https://github.com/apple/swift-format after update Xcode to version 11.4 start getting error:
"Unable to lint xxxx.swift: SwiftSyntax parser library isn't compatible."
How do we solve that issue? Changing SwiftSyntax version does not help.
Finally, swift-5.2-branch was created https://github.com/apple/swift-format/tree/swift-5.2-branch. The issue was solved by moving the new version of SwiftSyntax parser library.

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

Problem with MongoSwift. Compiler is unable to find "Mongo.h" file.

I installed the MongoSwift 0.2.0 library through cocoapod. However when I try to open the project and build it I got 2 errors. "Mongoc.h" file not found and could not build Objective-C module "libmongoc".
I opened the project with the ". xcworkspace" file and installed Mongo-c-driver. So I'm not sure why I'm unable to get this library to work. Any help would be much appreciated! Thank you in advance.

error in compiling .xcdatamodel

i have xcode 4.3 with ios 5.1 and trying to compile and run the project, but it gives error:
Command /Applications/Xcode.app/Contents/Developer/usr/bin/momc failed with exit code 6
i found something in "Data Model Version Compile".. error after upgrading to Lion (Xcode4.1) but it doesn't provide me any suitable solution. It say's to delete unnecessary .xcdatamodel-directories and i did, but i still stuck up there with same issue. Other thing i found that the extension is changed in new xcode its '.xcdatamodeld' instead of '.xcdatamodel'. I copied content content of '.xcdatamodel' file and put in to '.xcdatamodeld' and added to xcode but it gave error at some where else that persistence store might exist. what should i do to run this project..
thanks in advance!!!