gustavogenovese / curl-android-ios

Static libcurl to be used in Android and iOS apps. Build scripts included. No Android source required
641 stars 255 forks source link

Build on MacOS Mojave failed with Socekt Support problem #56

Open KimJinRyul opened 6 years ago

KimJinRyul commented 6 years ago

Hello~

Build on Mac OS Mojave failed even after install developer tools with "xcode-selector --install" command.

How can I build curl with Mojave?

Regard

gustavogenovese commented 5 years ago

Hi, thanks for the report. Unfortunately, due to my current work, I can't upgrade to Mojave until February. As soon as I upgrade I'll take a look to this issue. You can still use the prebuilt libraries though. Regards,

jahngordon commented 5 years ago

I found the fix for this as part of trying to solve my own issue. See https://github.com/gcesarmza/curl-android-ios/issues/57#issuecomment-442794694 - the key step is installing the SDK headers package that the Xcode command line tools installer will have dropped onto your machine.

I've built a couple of times successfully on Mojave now.

nazrul-capanicus commented 5 years ago

Hi, Did you upgrade for Mojave?

I am getting below error while installing on Mojave and Sierra, Curl needs external tools to be compiled Make sure you have autoconf, automake and libtool installed ./build_iOS.sh: line 24: ./buildconf: No such file or directory Error running the buildconf program

autoconf, automake and libtool are already installed but still getting same error on both the macos

Xcode 10.1 Macos 10.14.3 Macos 10.13.6

gustavogenovese commented 5 years ago

./build_iOS.sh: line 24: ./buildconf: No such file or directory

That looks like you forgot to read the instructions and get the submodules