swift-kafka-client icon indicating copy to clipboard operation
swift-kafka-client copied to clipboard

In rdkafka_sasl_oauthbearer_oidc.c - 'curl/curl.h' file not found

Open saujidaprostem opened this issue 2 years ago • 4 comments

Header Search Paths: Open your Xcode project, select the target, go to "Build Settings," and add the following path to "Header Search Paths":

/usr/local/opt/curl/include Library Search Paths: Add the library path to "Library Search Paths":

/usr/local/opt/curl/lib Link Binary With Libraries: Add libcurl.dylib in "Link Binary With Libraries."

installed curl through terminal i did all but still getting the isse please help me out. Screenshot 2023-11-30 at 6 06 05 PM

saujidaprostem avatar Nov 30 '23 12:11 saujidaprostem

It looks like the target platform is an iPhone in this case, you would need to create an xcframework of curl and friends via something like https://github.com/jasonacox/Build-OpenSSL-cURL, and include the libraries in your project.

freef4ll avatar Nov 30 '23 13:11 freef4ll

Hi thanks for the reply but issue not solved

saujidaprostem avatar Dec 04 '23 07:12 saujidaprostem

Can you try to use the branch from this PR: https://github.com/swift-server/swift-kafka-client/pull/155

FranzBusch avatar Dec 04 '23 11:12 FranzBusch

Hi Thanks a lot for the response I tried but same issue I am facing can you please help out to resolve this issue Screenshot 2023-12-05 at 6 47 32 PM Screenshot 2023-12-05 at 6 47 54 PM Uploading Screenshot 2023-12-05 at 6.48.54 PM.png…

saujidaprostem avatar Dec 05 '23 13:12 saujidaprostem