iOS 安装应用

1.itool 安装

   不是本文重点

2.fruitstrap安装。(执行 gcc 失败,可能是xcode更新导致的 2018/09/20)

   2.1 前往 https://github.com/ghughes/fruitstrap 下载源代码 (git clone 即可)

   2.2 执行 (可在文件夹下面 的Makefile文件中查看到,找到gcc 词即可)

         $ gcc -o fruitstrap -framework CoreFoundation -framework MobileDevice -F/System/Library/PrivateFrameworks fruitstrap.c

         形成一个可执行文件fruitstrap

   3.3 安装程序

      3.3.1  $ ./fruitstrap install --bundle XueLeJW.ipa

      3.3.2  $ ./fruitstrap -b  XueLeJW.app  (确认该app是通过 真机编译过的)

原文地址:https://www.cnblogs.com/gulong/p/5805899.html