Pre-compiled libcurl framework for iOS and macOS applications! Automatically updated within 24-hours of a new release of curl.
Let me know if you need tvOS and/or watchOS too. This project is prepared to provide these, but there's no point to waste space and time if nobody needs it.
If you want something more convenient to use curl in your projects, you might want to have a look at https://github.com/greatfire/SwiftyCurl.
- Download and extract curl.xcframework.zip from the latest release
- Compare the SHA-256 checksum of the downloaded framework with the fingerprint in the release
shasum -a 256 curl.xcframework.zip
- Select your target in Xcode and click the "+" under Frameworks, Libraries, and Embedded Content
- Click "Add Other" then "Add Files..."
- Select the extracted curl.xcframework directory
Use the included build script to compile a specific version or customize the configuration options
./build-apple.sh <curl version> [optional configure parameters]
The following config parameters are always provided: --disable-shared
, --enable-static
, --with-secure-transport
,
--without-libpsl
, --without-libidn2
, --without-nghttp2
This project was originally deviced by Ian Spence: https://github.com/tls-inspector/curl-ios/
MacOS extensions and minor improvements by Benjamin Erhart.