How to install an ipa/app file into iPhone with command line?

前端 未结 4 2003
刺人心
刺人心 2020-12-24 03:35

I want to know how to install an ipa/app file into iPhone just using the command line?

The device maybe without jailbreak or jailbroken already.

I tried to

4条回答
  •  情深已故
    2020-12-24 04:08

    Three ways I know of:

    • These guys wrote a tool in Ruby to do it. It uses the Fruitstrap library which in turn uses one of Apple's private APIs, so this could possibly break in the future.

    • You can also just use Fruitstrap on its own, but then you need an .app directory, whereas the Transporter Chief tool I linked above supports both .app and .ipa deployments (as required in your answer).

    In either case, you need to have XCode installed for it to work, but the device does not need to be jailbroken.

    • Thirdly, there is also a binary distribution for OS X of the libimobiledevice library, which enables Linux boxes to talk to iOS devices. This has a few different tools, one of which can install valid signed IPAs to the device using this syntax:

      ideviceinstaller -i myapp.ipa
      

      The advantage of this method is that it does not need XCode or even iTunes.

提交回复
热议问题