• stf ios版本部署


    1.环境准备
      安装libimobiledevice等依赖工具,如果已经安装过,可能需要升级,先卸载,再安装最新版本
        brew uninstall --ignore-dependencies libimobiledevice
        brew uninstall --ignore-dependencies usbmuxd
        brew install --HEAD usbmuxd
        brew unlink usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install --HEAD ideviceinstaller
        brew install carthage
        brew install socat

    2.安装stf依赖:brew install graphicsmagick zeromq protobuf yasm pkg-config

    3.配置WebDriverAgent,clone代码https://github.com/mrx1203/WebDriverAgent.git,假设代码存放路径为/Users/test/Desktop/WebDriverAgent/

    4.启动ios-provider,因为ios-provider需要使用xcodebuild等mac下的命令行工具,而docker容器中并没有提供这类工具,
      所以不能用docker来部署ios-provider,只能通过源码方式部署。部署步骤如下:
    (1)拉取源代码git clone https://github.com/mrx1203/stf.git
    (2)安装依赖库npm install;npm install --save request;npm install --save request-promise,注意:需切换到stf目录下
    (3)启动ios-provider,假设主服务器的ip地址为172.196.138.36,该节点的ip地址为172.196.138.49
      stf ios-provider --name "mac081" --connect-sub tcp://172.196.138..36:7250
        --connect-push tcp://172.28.28.36:7270 --storage-url http://172.196.138.36
        --public-ip 172.196.138.49 --heartbeat-interval 20000
        --wda-path /Users/test/Desktop/WebDriverAgent/ --wda-port 8100

  • 相关阅读:
    python之字符串【str】
    python之列表【list】
    python之os模块
    MySQL 模糊查询
    Dreamoon-Operating on a graph(并查集+链表)
    Dreamoon-Operation Love(凸包)
    CF1382D.Unmerge(背包)
    PAT-T1027 Larry and Inversions (树状数组)
    CF1379C.Choosing Flowers(二分)
    矩阵快速幂模板
  • 原文地址:https://www.cnblogs.com/Tanwheey/p/14760048.html
Copyright © 2020-2023  润新知