Skip to content

Script for building cURL for Apple platforms (iOS, iOS Simulator, tvOS, tvOS Simulator, macOS)

License

Notifications You must be signed in to change notification settings

johnmai-dev/Apple-cURL-BuildScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Apple-cURL-BuildScript

Script for building cURL for Apple platforms (iOS, iOS Simulator, tvOS, tvOS Simulator, macOS)

Details

  • iOS: arm64
  • iOS Simulator: arm64, x86_64
  • macOS: x86_64, arm64
  • tvOS: arm64
  • tvOS Simulator: arm64, x86_64

Usage

$ chmod +x cURL.sh
$ ./cURL.sh

Output

./build/curl/<CURL_VERSION>/libcurl.xcframework

Configure options

./configure --host=<HOST> --prefix <PREFIX> \
    --disable-shared \
    --enable-static \
    --with-secure-transport \
    --without-libpsl \
    --without-libidn2 \
    --without-nghttp2 \
    --disable-verbose \
    --disable-dependency-tracking \
    --disable-ldap \
    --disable-ldaps \
    --without-libidn2

About

Script for building cURL for Apple platforms (iOS, iOS Simulator, tvOS, tvOS Simulator, macOS)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages