zoukankan      html  css  js  c++  java
  • MAC appim自动化环境搭建

    1、node.js环境搭建

    2、npm安装

    3、cnpm安装

    4、appium安装

    5、homebrew安装

    6、libimobiledevice安装

    7、carthage安装

    8、ios-deploy安装

    9、appium-doctor检查appium ios环境

    10、安装WebDriverAgent。可直接使用 appium自带的

    在WebDriverAgent目录下执行以下命令

    mkdir -p Resources/WebDriverAgent.bundle

    sh ./Scripts/bootstrap.sh

    编译WebDriverAgent.xcodeproj

    Xcode打开当前目录下的WebDriverAgent.xcodeproj文件

           1、TARGETS->WebDriverAgentLib的Bundle Identifier更改为自己命名的Identifier。(所有Identifier注意保持一致!!)

           2、TARGETS->WebDriverAgentLib的Signing选择使用个人的证书。

           3、TARGETS->WebDriverAgentRunner的Signing选择使用个人的证书。

           4、PROJECT->WebDriverAgent的Product Bundle Identifier更改为自己命名的Identifier。(所有Identifier注意保持一致!!)

          5、TARGETS->WebDriverAgentLib的Product Bundle Identifier更改为自己命名的Identifier。(所有Identifier注意保持一致!!)

          6、TARGETS->WebDriverAgentRunner的Product Bundle Identifier更改为自己命名的Identifier。(所有Identifier注意保持一致!!)

          7、Device选择已连接的测试机

          8、点击build按钮来测试,按照步骤设置后,可build succeeded~    

          9、测试机上安装证书,执行以下命令:

    xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=测试机的udid' test

    如果没有报错证明安装成功,同时手机上会安装一个WebDriverAgent软件。需要在手机设置->通用->设备管理->信任开发者

    如果没有报错证

    https://www.cnblogs.com/yoyoketang/p/7368246.html

    环境搭建需要的工具如下:

    https://www.jianshu.com/p/f797f79f2ff4?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation

    关于ANDROID_HOME配置

    https://blog.csdn.net/weixin_42602174/article/details/88039732?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase

    关于JAVA_HOME配置

    https://blog.csdn.net/shuaicenglou3032/article/details/79100155

    IOS真机环境安装

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

    2、安装crathage:brew install carthage   第三方库管理工具,项目依赖管理

    3、安装依赖库:brew install libimobiledevice

    https://testerhome.com/topics/15617

    https://www.cnblogs.com/AIME/p/11312843.html

    https://www.cnblogs.com/fnng/p/12616466.html

  • 相关阅读:
    查看windows下指定的端口是否开放
    网易云音乐评论爬虫:爬取歌曲的全部评论
    用 Python 玩转 GitHub 的贡献板
    用python实现linux口令破解
    Python 音频数据扩充的技巧
    教你使用python+Opencv完成人脸解锁
    opencv+Python特征检测及K-最近邻匹配
    opencv+python 统计及绘制直方图
    学会用这个工具做分析,1年积累3年工作经验
    15分钟,教你用Python爬网站数据,并用BI可视化分析!
  • 原文地址:https://www.cnblogs.com/bufuhaoshiguang/p/13294859.html
Copyright © 2011-2022 走看看