build-libcurl-ios icon indicating copy to clipboard operation
build-libcurl-ios copied to clipboard

Curl 8

Open superwills opened this issue 10 months ago • 0 comments

Curl team seems to have provided command line iOS build instructions here

export ARCH=arm64
export SDK=iphoneos
export DEPLOYMENT_TARGET=12.0

sudo xcode-select --switch /Applications/Xcode.app

export CFLAGS="-arch $ARCH -isysroot $(xcrun -sdk $SDK --show-sdk-path) -m$SDK-version-min=$DEPLOYMENT_TARGET"

./configure is not in the github it is in the libcurl download

./configure --host=$ARCH-apple-darwin --prefix $(pwd)/artifacts --with-secure-transport

make -j8

make install

Build results are in the artifacts folder

superwills avatar Apr 11 '24 23:04 superwills