Integrates Google Cloud Print into iOS
Objective-C Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Application Updated to latest version of AFIncrementalStore Dec 13, 2012
GoogleCloudPrint.xcworkspace Add preference bundle with basic functionality Dec 9, 2012
PreferenceBundle
Tweak
layout/DEBIAN Update control file Dec 30, 2012
theos @ 9c8a341
.gitignore
.gitmodules Updated AFOAuth2Client Dec 28, 2012
LICENSE
Makefile Updated to latest version of Theos Dec 11, 2012
README.md Update README.md Dec 30, 2012

README.md

Google Cloud Print on iOS

This project integrates Google's Cloud Print service into Apple's existing AirPrint functionality. For more information, read the blog post.

The project uses AFIncrementalStore, AFOAuth2Client and AFNetworking to communicate with the Cloud Print API, and Theos as its build system.

Getting Started

Prequisites

  • Xcode 4.5, which includes the iOS 6 SDK
  • A jailbroken device running iOS 6

Building

The first step to build the project is to clone the repository and initialize all of its submodules:

git clone git://github.com/conradev/GoogleCloudPrint.git
cd GoogleCloudPrint
git submodule update --init -—recursive

Additionally, one header file from the Mountain Lion SDK is required. This is because NSXPCConnection is public on OS X, but not iOS.

mkdir theos/include/Foundation
cp $(xcode-select --print-path)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h theos/include/Foundation/

To build the project, you need only run

make

Installing

To install this on a jailbroken device, some additional tools are needed.

The first tool is ldid, which is used for fakesigning binaries. Ryan Petrich has a build on his Github mirror:

curl -O http://cloud.github.com/downloads/rpetrich/ldid/ldid.zip
unzip ldid.zip
mv ldid theos/bin/
rm ldid.zip

To build a Debian package, dpkg and fakeroot are required. You can install these from Homebrew:

brew install fakeroot dpkg

To build a package in the project directory, you can run:

make package

and to automatically install this package on your jailbroken device (over SSH), you can run:

make package install THEOS_DEVICE_IP=xxx.xxx.xxx.xxx

License

GoogleCloudPrint is available under the MIT license. See the LICENSE file for more info.