iOS微信小程序-跳一跳-自动连续跳插件-安装过程

369 阅读1分钟

参考文章 写给iOS开发的跳一跳秘籍 ATX 文档 - iOS 真机如何安装 WebDriverAgent Xcode中Command Line Tools安装方法

###效果图

123.gif )

###1、下载资源 将wechat_jump_gameWebDriverAgent下载至本地并解压。

###2、安装WebDriverAgentRunner

######1)cd至/WebDriverAgent-master文件夹

cd **** /WebDriverAgent-master

######2)安装Carthage

brew install carthage

######3)Xcode中Command Line Tools安装方法 Xcode中Command Line Tools安装方法 ######4)安装WebDriverAgentRunner

./Scripts/bootstrap.sh

###2、安装Python 进入www.python.org如下图所示操作

安装Python

安装Python

###3、安装facebook-wda

1)如果下载的是Python3,执行

pip3 install --pre facebook-wda

2)如果下载的是Python2,执行

pip install --pre facebook-wda

###4、配置使用WebDriverAgentRunner ATX 文档 - iOS 真机如何安装 WebDriverAgent

1)执行命令

iproxy 8100 8100

###5、安装Python依赖库

######1)cd至/wechat_jump_game文件夹

cd **** /wechat_jump_game

######2)安装Python依赖库

pip3 install -r requirements.txt

###6、运行Python

######1)配置config.json

拷贝 ./config/iPhone 目录下对应的设备配置文件(如是iPhone 8p 则是8P_7P_6sP_6P_config.json),重命名为config.json,并拷贝到一级目录hDGhsb7Vb+P7ARx0vk+n3wAAAAAElFTkSuQmCC.png

######2)使用IDE打开wechat_jump_auto_iOS文件,并运行即可自动跳

屏幕快照 2018-01-05 下午1.55.32.png