notes

由于itunes 12.7 版本中不能通过ipa直接安装到iPhone上,所以找到了ideviceinstaller来替代。 ideviceinstaller基于libimobiledevice,libimobiledevice是逆向出iOS设备与Windows/Mac Host接口的通讯协议写成的跨平台库。

安装

brew uninstall ideviceinstaller  
brew uninstall libimobiledevice  
brew install --HEAD libimobiledevice  
brew link --overwrite libimobiledevice  
brew install ideviceinstaller  
brew link --overwrite ideviceinstaller  

使用

  1. 安装
    ideviceinstaller -i <ipaPath>
    
  2. 卸载
    ideviceinstaller -U <bundleID>
    
  3. 查看当前连接设备的uuid
    idevice_id -l
    
  4. 查看设备信息
    ideviceinfo
    

关于ifuse

ifuse这个东西试了一下并没有那么好用,只能用在app开启了UIFileSharingEnabled权限的情况下使用,但是我在手机上试了一下,只有一个公司的VR app可以挂载document目录,挂载了之后也只能读里面的内容,不可写,其他app没有一个可挂载,我觉得也只能用在调试的时候把…