Skip to content

tls-inspector/curl-ios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

curl-ios

Pre-compiled libcurl framework for iOS and iPadOS applications! Automatically updated within 24-hours of a new release of curl.

Using the pre-compiled framework

  1. Download and extract curl.xcframework.zip from the latest release
  2. Compare the SHA-256 checksum of the downloaded framework with the fingerprint in the release
    shasum -a 256 curl.xcframework.zip
    1. Optionally download the signing key from this repo and the curl.xcframework.zip.sig from the release and verify the signature
      openssl dgst -sha256 -verify signingkey.pem -signature curl.xcframework.zip.sig curl.xcframework.zip
  3. Select your target in Xcode and click the "+" under Frameworks, Libraries, and Embedded Content
    Screenshot of the Frameworks, Libraries, and Embedded Content section in Xcode with the plus button circled
  4. Click "Add Other" then "Add Files..."
    Screenshot of a dropdown menu with the add files option highlighted
  5. Select the extracted curl.xcframework directory

Compile it yourself

Use the included build script to compile a specific version or customize the configuration options

./build-ios.sh <curl version> [optional configure parameters]

The following config parameters are always provided: --disable-shared, --enable-static, --with-secure-transport --without-libpsl