#23 楼 @seveniruby diggerplus 把我们放在了首页,我们也把他们放在首页吧。
['æpɪəm] 真的是这样念的。。看这个视频里的:
貌似你的 ios-webkit-debug-proxy 都敲错了啊。。。 是粗心的问题? p.s 加个头像吧?
➜ ~ brew install ios-webkit-debug-proxy
Warning: No developer tools installed.
You should install the Command Line Tools.
Run `xcode-select --install` to install them.
==> Installing dependencies for ios-webkit-debug-proxy: cmake, libplist, libusb, usbmuxd, libtasn1, xz, p11-kit, gmp, nettle, gnutls, libgcrypt, libimo
==> Installing ios-webkit-debug-proxy dependency: cmake
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/cmake-2.8.12.1.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring cmake-2.8.12.1.mavericks.bottle.tar.gz
🍺 /usr/local/Cellar/cmake/2.8.12.1: 701 files, 36M
==> Installing ios-webkit-debug-proxy dependency: libplist
==> Downloading http://cgit.sukimashita.com/libplist.git/snapshot/libplist-1.10.tar.bz2
Already downloaded: /Library/Caches/Homebrew/libplist-1.10.tar.bz2
==> Downloading patches
######################################################################## 100.0%
==> Patching
patching file src/Dictionary.cpp
==> cmake . -DCMAKE_INSTALL_NAME_DIR=/usr/local/Cellar/libplist/1.10/lib -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/libplist/1.10 -DCMAKE_BUILD_TYPE=None -DCMAK
==> make install
🍺 /usr/local/Cellar/libplist/1.10: 24 files, 256K, built in 15 seconds
==> Installing ios-webkit-debug-proxy dependency: libusb
==> Downloading http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.9/libusb-1.0.9.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libusb/1.0.9
==> make install
🍺 /usr/local/Cellar/libusb/1.0.9: 11 files, 416K, built in 23 seconds
==> Installing ios-webkit-debug-proxy dependency: usbmuxd
==> Downloading http://www.libimobiledevice.org/downloads/usbmuxd-1.0.8.tar.bz2
######################################################################## 100.0%
==> cmake .. -DLIB_SUFFIX= -DUSB_INCLUDE_DIR=/usr/local/Cellar/libusb/1.0.9/include/libusb-1.0 -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/usbmuxd/1.0.8 -DCMAKE_
==> make install
🍺 /usr/local/Cellar/usbmuxd/1.0.8: 9 files, 140K, built in 8 seconds
==> Installing ios-webkit-debug-proxy dependency: libtasn1
==> Downloading http://ftpmirror.gnu.org/libtasn1/libtasn1-3.3.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libtasn1/3.3
==> make install
🍺 /usr/local/Cellar/libtasn1/3.3: 51 files, 628K, built in 52 seconds
==> Installing ios-webkit-debug-proxy dependency: xz
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/xz-5.0.5.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring xz-5.0.5.mavericks.bottle.tar.gz
🍺 /usr/local/Cellar/xz/5.0.5: 58 files, 1.5M
==> Installing ios-webkit-debug-proxy dependency: p11-kit
==> Downloading http://p11-glue.freedesktop.org/releases/p11-kit-0.18.4.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/p11-kit/0.18.4 --disable-trust-module
==> make
==> make check
==> make install
🍺 /usr/local/Cellar/p11-kit/0.18.4: 50 files, 908K, built in 66 seconds
==> Installing ios-webkit-debug-proxy dependency: gmp
==> Downloading ftp://ftp.gmplib.org/pub/gmp/gmp-5.1.3.tar.bz2
######################################################################## 100.0%
==> Patching
patching file gmp-h.in
==> ./configure --prefix=/usr/local/Cellar/gmp/5.1.3 --enable-cxx
==> make
==> make check
==> make install
🍺 /usr/local/Cellar/gmp/5.1.3: 12 files, 2.5M, built in 6.9 minutes
==> Installing ios-webkit-debug-proxy dependency: nettle
==> Downloading http://www.lysator.liu.se/~nisse/archive/nettle-2.6.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/nettle/2.6 --enable-shared
==> make
==> make install
==> make check
🍺 /usr/local/Cellar/nettle/2.6: 61 files, 1.2M, built in 52 seconds
==> Installing ios-webkit-debug-proxy dependency: gnutls
==> Downloading ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1/gnutls-3.1.10.tar.xz
######################################################################## 100.0%
==> Patching
patching file configure
==> ./configure --disable-static --prefix=/usr/local/Cellar/gnutls/3.1.10
==> make install
🍺 /usr/local/Cellar/gnutls/3.1.10: 873 files, 6.9M, built in 3.4 minutes
==> Installing ios-webkit-debug-proxy dependency: libgcrypt
==> Downloading ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.5.3.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libgcrypt/1.5.3 --disable-asm --with-gpg-error-prefix=/usr/local
==> make CFLAGS=-std=gnu89 -fheinous-gnu-extensions
==> make check
==> make install
🍺 /usr/local/Cellar/libgcrypt/1.5.3: 14 files, 680K, built in 2.4 minutes
==> Installing ios-webkit-debug-proxy dependency: libimobiledevice
==> Downloading http://www.libimobiledevice.org/downloads/libimobiledevice-1.1.5.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libimobiledevice/1.1.5 --without-cython
==> make install
🍺 /usr/local/Cellar/libimobiledevice/1.1.5: 52 files, 800K, built in 35 seconds
==> Installing ios-webkit-debug-proxy
==> Downloading https://github.com/google/ios-webkit-debug-proxy/archive/1.3.tar.gz
######################################################################## 100.0%
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/ios-webkit-debug-proxy/1.3
==> make install
🍺 /usr/local/Cellar/ios-webkit-debug-proxy/1.3: 15 files, 164K, built in 23 seconds
安装成功了。
➜ ~ which ios_webkit_debug_proxy
/usr/local/bin/ios_webkit_debug_proxy
➜ ~ ios_webkit_debug_proxy -c 0e4b2f612b65e98c1d07d22ee08678130d345429:27753 -d
ss.add_fd(3)
select_port() failed
ss.recv fd=3 len=294
ss.recv fd=3 len=684
select_port() failed
运行成功了。
我只能帮你这么点。。。我在医院不方便。。
brew 安装后就应该能认出,除非你 brew 的安装路径不在 path 里。
英文 doc 有更新了,我们即将到来的提交,顺便更新下已有的文档吧。 @seveniruby @monkey
改了下格式,爪机无力啊。。。
欢迎喜力
这个还原数据库在这里是什么意思,使用的时机是什么时候?
#20 楼 @qddegtya @seveniruby @monkey 我们交换链接了?
➜ src git:(master) android list avd
Available Android Virtual Devices:
Name: appium
Path: /Users/lihuazhang/.android/avd/appium.avd
Target: Android 4.3 (API level 18)
ABI: armeabi-v7a
Skin: 768x1280
我虚拟机和真机都能运行 android_contacts.py。 倒是真机上会遇到输入法的问题。
良好的讨论,有所结果,别忘记分享出来。
#16 楼 @shery_zhang2012 找不到,可能是环境变量的问题。
首先关于 iOS 和 android 的自动化测试要了解一点。至少环境的搭建和配置要清楚。
然后要选择一门语言,至少要熟练。接着就是 webdriver 了。
大家一起来集思广益,我们也是起步。
#6 楼 @shery_zhang2012 加个头像呗!
#6 楼 @shery_zhang2012 什么手机? 看看 adv devices -l 有没有,如果没有,可能认不出手机的 vender id ,那按照http://testerhome.com/topics/153 这个帖子来