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 iOS Error Catalina #66

Open pcfriend2010 opened 4 years ago

pcfriend2010 commented 4 years ago

/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am CC libcurl_la-file.lo CC libcurl_la-timeval.lo CC libcurl_la-base64.lo CC libcurl_la-hostip.lo CC libcurl_la-progress.lo CC libcurl_la-formdata.lo CC libcurl_la-cookie.lo CC libcurl_la-http.lo CC libcurl_la-sendf.lo CC libcurl_la-ftp.lo CC libcurl_la-url.lo CC libcurl_la-dict.lo CC libcurl_la-if2ip.lo CC libcurl_la-speedcheck.lo CC libcurl_la-ldap.lo url.c:55:2: error: "We can't compile without socket() support!"

error "We can't compile without socket() support!"

^ 1 error generated. make[2]: [libcurl_la-url.lo] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [all] Error 2 make: [all-recursive] Error 1 Error running the make program

dhilowitz commented 4 years ago

Yup. I'm having the same issue, also on Catalina.

wolfaherd commented 3 years ago

same issue,also on Big Sur

wolfaherd commented 3 years ago

I resolve this prblem by commenting out this line. CC="$XCODE/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"