使用fruitstrap实现命令行将IPA包安装到iOS设备上

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这行命令复制出来

使用fruitstrap实现命令行将IPA包安装到iOS设备上

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上

使用fruitstrap实现命令行将IPA包安装到iOS设备上

上一篇:真香!iOS云真机全新上线!


下一篇:(转载)IQ 16.0 SP02起支持从压缩文件直接装载数据到表中