- install_theos.sh Select all
# clone theos.git
cd ~
git clone https://github.com/rpetrich/theos.git theos-rpetrich
# clone iphoneheaders.git
cd ~/theos-rpetrich/; ./git-submodule-recur.sh init; git submodule update --recursive
# get dpkg-deb for Mac OS X
curl -OL 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-rpetrich/bin
curl -OL http://joedj.net/ldid
chmod a+x ldid
# get libsubstrate.dylib (multiple archs and supports arm64)
cd ~/theos-rpetrich/lib
curl -OL http://cdn.hbang.ws/dl/libsubstrate_arm64.dylib
mv libsubstrate_arm64.dylib libsubstrate.dylib
Download Xcode_4.4.1 and Xcode_4.6.2 from https://developer.apple.com/downloads/index.action and drag them to /Applications folder Rename them as /Applications/Xcode_4.4.1.app and /Applications/Xcode_4.6.2.app Download the latest Xcode 5 and install it
(2) get ilogit for test build
mkdir -p ~/Projects
cd ~/Projects
curl -OL https://dl.dropboxusercontent.com/u/15373/Other/iPhone/ilogit-tweak-ios7-example.tar
tar -xf ilogit-tweak-ios7-example.tar
#make symlink
cd ilogit
ln -s ~/theos-rpetrich theos
(3) Modify Makefile, change to
- Makefile Select all
TARGET := iphone:clang
THEOS_PLATFORM_SDK_ROOT_armv6 = /Applications/Xcode_4.4.1.app/Contents/Developer
THEOS_PLATFORM_SDK_ROOT_armv7 = /Applications/Xcode_4.6.2.app/Contents/Developer
THEOS_PLATFORM_SDK_ROOT_arm64 = /Applications/Xcode.app/Contents/Developer
SDKVERSION_armv6 = 5.1
SDKVERSION_armv7 = 6.1
SDKVERSION_arm64 = 7.0
TARGET_IPHONEOS_DEPLOYMENT_VERSION_armv6 = 5.1
TARGET_IPHONEOS_DEPLOYMENT_VERSION_armv7 = 6.1
TARGET_IPHONEOS_DEPLOYMENT_VERSION_arm64 = 7.0
IPHONE_ARCHS = armv6 armv7 arm64
TWEAK_NAME = iLogIt
iLogIt_FILES = Tweak.xm
iLogIt_LIBRARIES = substrate
include theos/makefiles/common.mk
include $(THEOS_MAKE_PATH)/tweak.mk
(4) Make package
make package
Please refer to this for the updated iOS7 tweaks http://iphonedevwiki.net/index.php/Updating_extensions_for_iOS_7
.
.
.