Coder Social home page Coder Social logo

spdy-for-iphone's Introduction

SPDY-for-iPhone is a project to create an easy to use library for SPDY.  A
pre-built binary is available in install/lib/libSPDY.a.

To use libSPDY.a:
1) Copy both install/lib/libSPDY.a and install/include/SPDY/SPDY.h into your
project.
2) Add the CFNetwork and SystemConfiguration frameworks to your list of
libraries to link against.
3) Follow the API in SPDY.h.

==========================================================================
Building libSPDY.a
==========================================================================
libSPDY.a has a few external dependencies.  These are included as git
submodules and built using the venerable make.  The external libraries are:
- spdylay
- openssl (Included until Apple releases iOS with an NPN enabled OpenSSL)
- zlib

The external libraries require the following programs to build:
- pkgconfig
- automake
- autoconf
- libtool

I typically install these programs through MacPorts (http://www.macports.org/).
Fink or homebrew should also have these packages.

To build build the external libraries and libSPDY.a run the following commands:
$ git submodule init
$ git submodule update
$ make


==========================================================================
Build errors
==========================================================================
- Syntax error in configure
 - Problem:
./configure: line 15731: syntax error near unexpected token `0.20'
./configure: line 15731: `PKG_PROG_PKG_CONFIG(0.20)'

 - Solution: Go back and install pkgconfig and delete spdylay/configure.

- Test button doesn't work in xcode 4.3.1
 - Problem:
  Lexical or Preprocessor issue
  NS_AVAILABLE' macro redefined
 - Solution: Run the tests with make check from the command line.

spdy-for-iphone's People

Contributors

sorced-jim avatar

Watchers

 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.