Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A project to build a spdy client library for the iPhone.
Objective-C Shell
branch: master

Merge pull request #8 from morodomi/master

zlib version up (to 1.2.8)
latest commit 5954b9581e
@sorced-jim authored
Failed to load latest commit information.
OpenSSL-for-iPhone @ 5738272 Update openssl build.
SPDY Add a header to keep track of stream timeouts.
demo Delete old spdylay test code.
install Free old ssl session.
spdylay @ 3c49a31
zlib
.gitignore Create a new project for a the SPDY iphone library. Install openssl i…
.gitmodules Remove the spindly module and list some port packages needed for buil…
LICENSE Add license file
Makefile Switch to building armv7s instead of armv6.
README Document weird xcode 4.3.1 test button problems.
ios-configure Switch to building armv7s instead of armv6.

README

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.
Something went wrong with that request. Please try again.