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


 

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上

posted @ 2017-09-20 15:15  蒋励  阅读(494)  评论(0编辑  收藏  举报