2014-03-29 19:15:25 +00:00
|
|
|
build-libcurl-ios
|
|
|
|
=================
|
2015-09-19 19:00:30 +00:00
|
|
|
Build libcurl for iOS development.
|
|
|
|
This script will generate static library for armv7 armv7s arm64 i386 and x86_64.
|
|
|
|
New Xcode7 bitcode feature supported.
|
2014-03-29 19:15:25 +00:00
|
|
|
|
2015-09-19 19:00:30 +00:00
|
|
|
Script only, please download libcurl from here: http://curl.haxx.se/download.html
|
|
|
|
Tested iOS SDK 9.0 and MacOSX 10.11
|
2015-09-19 18:51:30 +00:00
|
|
|
Tested curl 7.44.0
|
2014-03-29 19:15:25 +00:00
|
|
|
|
|
|
|
Usage
|
|
|
|
=================
|
|
|
|
```
|
2015-09-19 18:51:30 +00:00
|
|
|
curl -O http://curl.haxx.se/download/curl-7.44.0.tar.gz
|
|
|
|
tar xf curl-7.44.0.tar.gz
|
|
|
|
cd curl-7.44.0
|
2014-03-29 19:15:25 +00:00
|
|
|
curl https://raw.githubusercontent.com/sinofool/build-libcurl-ios/master/build_libcurl_dist.sh |bash
|
|
|
|
......
|
|
|
|
```
|
|
|
|
Find the result libcurl-ios-dist on your desktop.
|
2015-09-19 18:51:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
Binary
|
|
|
|
=================
|
|
|
|
You can find a prebuild binary here: https://sinofool.net/dl/libcurl-ios-dist.tar.bz2
|
|
|
|
|
|
|
|
Double check the binary file before use:
|
2015-09-19 19:00:30 +00:00
|
|
|
```
|
2015-09-19 18:51:30 +00:00
|
|
|
SHA1:
|
|
|
|
993c9bb75d798a886749e7801d5f54c494dbf6fb libcurl-ios-dist.tar.bz2
|
|
|
|
|
|
|
|
GnuPG: (My Key ID: 9BE18853)
|
|
|
|
https://sinofool.net/dl/libcurl-ios-dist.tar.bz2.sig
|
2015-09-19 19:00:30 +00:00
|
|
|
```
|