Giter Site home page Giter Site logo

zhaotianze / build-libcurl-ios Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sinofool/build-libcurl-ios

0.0 2.0 0.0 17 KB

Build libcurl for iOS development, include armv7 armv7s arm64 i386 and x86_64 support.

Home Page: http://sinofool.net/blog/archives/172

Shell 100.00%

build-libcurl-ios's Introduction

libcurl for iOS

Build libcurl for iOS development.
This script will generate static library for armv7 armv7s arm64 i386 and x86_64.
Bitcode support.
OpenSSL and Darwin native ssl support.

Script only, please download libcurl from here: http://curl.haxx.se/download.html
Tested Xcode 7.3(7D175) on OSX 10.11.4
Tested curl 7.44.0 and 7.47.1 and 7.48.0

Usage

curl -O http://curl.haxx.se/download/curl-7.47.1.tar.gz
tar xf curl-7.47.1.tar.gz
cd curl-7.47.1
curl https://raw.githubusercontent.com/sinofool/build-libcurl-ios/master/build_libcurl_dist.sh |bash
......

Find the result libcurl-ios-dist on your desktop.

OpenSSL

The script link with native ssl by default (--with-darwinssl).
To use OpenSSL, use https://github.com/sinofool/build-openssl-ios/ to build OpenSSL for iOS first, in curl source directory run:

curl https://raw.githubusercontent.com/sinofool/build-libcurl-ios/master/build_libcurl_dist.sh openssl |bash

Binary

You can find a prebuild binary (with OpenSSL) here: https://sinofool.net/dl/libcurl-ios-dist.tar.bz2

Double check the binary file before use:

SHA1:
993c9bb75d798a886749e7801d5f54c494dbf6fb  libcurl-ios-dist.tar.bz2

GnuPG: (My Key ID: 9BE18853)
https://sinofool.net/dl/libcurl-ios-dist.tar.bz2.sig

build-libcurl-ios's People

Contributors

shinnguyen5589 avatar sinofool avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.