This project integrates a QR code reader into Apple's Camera application. It brings the 'quick' back into 'quick response'!
For more information, read the blog post.
- Xcode 4.6, which includes the iOS 6.1 SDK
- A jailbroken device running iOS 5 or later
The first step to build the project is to clone the repository and initialize all of its submodules:
git clone git://github.com/conradev/QuickQR.git cd QuickQR git submodule update --init
The next step is to build the C++ port of ZXing
cd Tweak/zxing/cpp xcodebuild -project ios.xcodeproj -target zxing -sdk iphoneos6.1 -configuration Release -arch armv7 -arch armv7s OTHER_CPLUSPLUSFLAGS="-Wno-unused-private-field" cd ../../..
To build the project, you need only run
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 is required. You can install it from Homebrew:
brew install dpkg
To build a package in the project directory, you can run:
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
QuickQR is available under the MIT license. See the LICENSE file for more info.