Skip to content

Instantly share code, notes, and snippets.

@oldpiano
Created April 25, 2013 00:23
Show Gist options
  • Select an option

  • Save oldpiano/5456660 to your computer and use it in GitHub Desktop.

Select an option

Save oldpiano/5456660 to your computer and use it in GitHub Desktop.
Xcode 4.4+ 에서 Theos 설치하기 (iOS6)
# clone theos.git
cd ~
git clone git://github.com/DHowett/theos.git
# clone iphoneheaders.git
cd ~/theos/
mv include include.bak
git clone git://github.com/rpetrich/iphoneheaders.git include
for FILE in include.bak/*.h; do mv $FILE include/; done
rmdir include.bak/
# get IOSurfaceAPI.h
cd ~/theos/include/IOSurface/
curl -O https://raw.github.com/javacom/toolchain4/master/Projects/IOSurfaceAPI.h
# clone theos-nic-templates.git
cd ~/theos/templates/
git clone git://github.com/orikad/theos-nic-templates.git
# get dpkg-deb for Mac OS X
cd ~/theos
curl -O http://test.saurik.com/francis/dpkg-deb-fat
chmod a+x dpkg-deb-fat
sudo mkdir -p /usr/local/bin
sudo mv dpkg-deb-fat /usr/local/bin/dpkg-deb
# get ldid for Mac OS X
cd ~/theos/bin
curl -O http://dl.dropbox.com/u/3157793/ldid
chmod a+x ldid
# get libsubstrate.dylib
cd ~/theos
curl -OL http://apt.saurik.com/debs/mobilesubstrate_0.9.3366-1_iphoneos-arm.deb
dpkg-deb -x mobilesubstrate_0.9.3366-1_iphoneos-arm.deb mobilesubstrate
cp mobilesubstrate/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate ~/theos/lib/libsubstrate.dylib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment