• ios黑科技


    1.brew

    brew 是 Mac 下的一个包管理工具,类似于 centos 下的 yum,可以很方便地进行安装/卸载/更新各种软件包,例如:nodejs, mysql等,可以用来快速搭建各种本地环境,必备工具

    安装 brew

    首先要通过如下命令安装 brew

    安装命令

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    2.安装一下必备工具

    安装命令

    brew update

    brew upgreade

    brew install aria2

    brew install libplist

    brew install pcre2

    brew install autoconf

    brew install libssh2

    brew install pkg-config

    brew install automake

    brew install libtasn1

    brew install gdbm

    brew install libtool

    brew install gettext

    brew install libusb

    brew install readline

    brew install libxml2

    brew install Caskroom/cask/android-platform-tools

    brew install gmp

    brew install libzip

    brew install make

    brew install --HEAD usbmuxd

    brew install isl

    brew install xz

    brew install mpfr

    brew install libmpc

    brew install --HEAD libimobiledevice

    brew install ideviceinstaller

    npm install -g cnpm --registry=https://registry.npm.taobao.org

    brew install carthage

    gem install xcpretty

    3.安装.ipa文件

    idevice_id

       

    idevice_id -l

    显示当前所连接的设备[udid],包括 usb、WiFi 连接

     

    instruments

       

    instruments -s devices

    列出设备包括模拟器、真机及 mac 电脑本身

     
         

    ideviceinstaller

       

    ideviceinstaller -u [udid] -i [xxx.ipa]

    给指定连接的设备安装应用

     

    ideviceinstaller -u [udid] -U [bundleId]

    给指定连接的设备卸载应用

     
    安装命令

    localhost:~ shimanwang$ idevice_id -l

    bf20512646af0f684600485816b99fb709db85ae

    ideviceinstaller -u bf20512646af0f684600485816b99fb709db85ae -i /Users/shimanwang/Downloads/iMeituan-9.12.400-20038.20190130202045.ipa 

  • 相关阅读:
    [Compose] 12. Two rules about Funtors
    [Compose] 11. Use Task for Asynchronous Actions
    [React Native] Animate Styles of a React Native View with Animated.timing
    [Compose] 10. Capture Side Effects in a Task
    [Angular Router] Lazy loading Module with Auxiliary router
    注重实效的程序员——途径篇
    UVa 674: Coin Change
    apache POI 导出excel相关方法
    Java调用R(二)_JRI
    drp用户管理完成后,asp.net与java的一个简单比较
  • 原文地址:https://www.cnblogs.com/yuange678/p/10468576.html
Copyright © 2020-2023  润新知