Post

Replies

Boosts

Views

Activity

Xcode 12 "Could not find or use auto-linked library" error
I'm encountering an error when trying to import SwiftKafka - https://github.com/Kitura/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 ld: warning: Could not find or use auto-linked library 'rdkafka' followed by a long list of errors of the form 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?
2
0
2.9k
Oct ’20