Xcode 12 "Could not find or use auto-linked library" error

I'm encountering an error when trying to import SwiftKafka in Swift 5/Xcode12.0.1

As pre their installation instructions, I've run brew install librdkafka and added a Package Dependancy to the package repo.

When I try to build, I get a warning
Code Block
ld: warning: Could not find or use auto-linked library 'rdkafka'
followed by a long list of errors of the form
Code Block
Undefined symbols for architecture x86_64:
 "_rd_kafka_*", referenced from:
   SwiftKafka.*

I've tried googling for a solution, but so far nothing seems to work. Any advice on how to resolve this?

Did you test with Xcode 11 ? Have you checked Kitura is compatible with Xcode 12 ?

I read in wikipedia:

In December 2019, IBM announced it had no further plans to develop the Kitura framework. As of January 2020, work on server-side Swift was discontinued at IBM. As of September 2020, Kitura is transitioning to be a community-run project.

So there may be an update problem for the framework.

So that's a question to ask to the developers of the library.
Xcode 12 "Could not find or use auto-linked library" error
 
 
Q