Requirements
-
Mac OS X. Tested on Snow Leopard only.
-
You need to have a valid iPhone development certificate installed.
-
Xcode must be installed, along with the SDK for your iOS version.
Usage
-
fruitstrap [-d] -b <app> [device_id]
-
Optional
-d
flag launches a remote GDB session after the app has been installed. -
<app>
must be an iPhone application bundle, not an IPA. -
Optional
device_id
; useful when you have more than one iPhone/iPad connected.
一、安装与使用
①
git clone git://github.com/ghughes/fruitstrap.git
②
cd fruitstrap
③
cat makefile
把gcc这行命令复制出来
④
gcc -o fruitstrap -framework CoreFoundation -framework MobileDevice -F/System/Library/PrivateFrameworks fruitstrap.c
如果在当前目录下出现fruitstrap文件就说明执行成功。
⑤./fruitstrap -b /Users/nali/Downloads/ting-6.3.27-770.ipa 使用该命令即可把IPA包安装到iPhone上