Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (27 sloc) 2.198 kb
README: libPusher distribution build
This package contains three static libraries:
* libPusher-iphoneosXXa
* libPusher-iphonesimulatorXX.a
* libPusher-combined.a
Where XX is the version of the SDK that the library was compiled with.
It also contains a number of public headers that you will need in order to use the library in your project.
The iphoneos library is compiled for armv7 devices and the iphonesimulator library is compiled for the simulator. You may use these if you wish to link to them separately for different targets in your project.
Most people will want to use the combined library, which is a fat static library that will run on both the simulator and the device.
These instructions use the combined library:
1. Copy the libPusher-combined.a library in to your project.
2. In your target settings, under the Build Phases tab, expand "Link Binary With Libraries" and check that libPusher-combined.a appears there. If it does not, click the "+" symbol and add it. This links your target with the static library.
3. In your target build settings, locate the "Other Linker Flags" setting and add "-all_load".
4. Drag the contents of the headers directory into your project.
5. You should now be able to #import "PTPusher.h" and compile.
libPusher uses the JSONKit library and the static library contains a compiled version of JSONKit.m.
If you are using JSONKit in your project already, you will need to remove JSONKit.m otherwise you will get linker errors when you build due to the duplicate symbols. You MUST however keep JSONKit.h in your project in order to use it in your own source code.
For more information, see:
Jump to Line
Something went wrong with that request. Please try again.