swift-server / swift-kafka-client

Apache License 2.0
81 stars 20 forks source link

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

Open saujidaprostem opened 10 months ago

saujidaprostem commented 10 months ago

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
freef4ll commented 10 months ago

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.

saujidaprostem commented 10 months ago

Hi thanks for the reply but issue not solved

FranzBusch commented 10 months ago

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

saujidaprostem commented 10 months ago

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…]()