2018年9月18日
摘要:
环境准备 + brew install carthage + npm i g ios deploy + brew install libimobiledevice HEAD + brew install ideviceinstaller + 使用brew安装时,如果出现update home bre
阅读全文
posted @ 2018-09-18 15:04
singleSpace
阅读(411)
推荐(0)
2018年9月14日
posted @ 2018-09-14 13:08
singleSpace
阅读(2)
推荐(0)
2018年9月13日
摘要:
iPhone自动化需要使用WDA。经过一段时间,再次编译,会出现WDA编译失败的问题,提示 The operation couldn’t be completed. Unable to log in with account '123456@qq.com'. The login details fo
阅读全文
posted @ 2018-09-13 10:10
singleSpace
阅读(493)
推荐(0)
2018年9月12日
摘要:
模拟器和真机切换 点击app选择Configuration,Target选择USB设备或模拟器 真机不能获取debug日志 以360手机为例 1.拨号界面输入“ 20121220 ”,进入工程模式,点击日志输出等级。 2.修改以下选项 Log print enable 选 enable Java l
阅读全文
posted @ 2018-09-12 06:01
singleSpace
阅读(156)
推荐(0)
2018年9月8日
摘要:
https://www.oracle.com/technetwork/cn/java/archive 139210 zhs.html 选择相关的版本,如java SE 8 同意,选择相应的版本 如果跳出登陆oracle用户的页面,登陆后即自动开始下载。
阅读全文
posted @ 2018-09-08 17:35
singleSpace
阅读(3958)
推荐(0)
2018年9月7日
摘要:
同其他语言一样,shell也可以包含外部脚本。执行引用脚本可以使用source或 . 示例1 test.sh shell !/bin/sh echo "$0开始执行" echo "hello world" echo "$0执行结束" !/bin/sh echo "$0开始执行" . test.sh
阅读全文
posted @ 2018-09-07 07:37
singleSpace
阅读(189)
推荐(0)
摘要:
1. shell输入/输出重定向 unix系统命令从终端接受输入并将产生的输出发送回终端。命令读取输入的地方,为标准输入,默认是终端;命令的输出,为标准输出,默认也是终端;命令的标准错误,默认也是终端。 command file 将输出重定向到 file,等价与tee 。 command file
阅读全文
posted @ 2018-09-07 00:05
singleSpace
阅读(199)
推荐(0)
2018年9月5日
摘要:
1. 函数定义 2. 不带返回值的函数 start hello world end 3. 带return返回值的函数 注意:如果不加return,将以最后一条命令的运行结果作为返回值。return后跟数值n(0 255)。 start 开始计算 请输入第一个数字:5 请输入第二个数字:4 结果:9
阅读全文
posted @ 2018-09-05 11:00
singleSpace
阅读(361)
推荐(0)
2018年9月4日
摘要:
1. if判断 1.1 if... #!/bin/sh a=5 if [[ $a > 3 ]];then echo "$a>3" # 5>3 fi #写成一行 if [[ $a < 6 ]];then echo "$a<6";fi # 5<6 1.2 if...else #!/bin/sh a=5
阅读全文
posted @ 2018-09-04 08:52
singleSpace
阅读(292)
推荐(0)
2018年9月3日
摘要:
shell中的test用于检查某个条件是否成立,它可以进行数值、字符和文件三个方面的测试。 1. 数值测试 -eq 等于为true -ne 不等,为true -gt 大于,为true -ge 大于等于,为true -lt 小于,为true -le 小于等于,为true #shell #!/bin/s
阅读全文
posted @ 2018-09-03 21:35
singleSpace
阅读(184)
推荐(0)