Open MFabi23 opened 4 years ago
I tried with the AppleWatch simulators and a real AppleWatch Series 4 as target device.
To compile librdkafka with Xcode, do these two things:
brew install librdkafka
target
section of your Package.swift
:linkerSettings: [
.unsafeFlags(["-Xlinker", "-L/usr/local/lib"], .when(platforms: [.macOS]))
]
I know this comment is old but I just finally figured this out and I'm overjoyed to share!
source: https://github.com/Kitura/SwiftKafka/issues/11#issuecomment-947528301
I am developing a watchOS app, that uses data coming from a Kafkastream and I want to use this library for this purpose, but it keeps ignoring my local "librdkafka" library.
Detailed error description:
What I did: