• appium.app Inspector 启动方法 at 2016年04月12日

    #23 楼 @chenhengjie123 找到原因了,我原来报错的时候根据网上的建议修改了/node_modules/appium/node_modules/node-idevice 文件,所以创建失败了。现在已经 ok 了,多谢~

  • appium.app Inspector 启动方法 at 2016年04月11日

    #2 楼 @chenhengjie123 Hi 楼主 我想请教下,appium1.4.8,ios 真机调试,我勾选了 prelaunch application,已经根据楼上的回复安装了 ideviceinstaller,手机 enable UI Automation。目前 appium 不报错了,但是卡住不动很久以后弹框如下:

    appium 日志如下:

    Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' lib/server/main.js --command-timeout "7200" --pre-launch --debug-log-spacing --platform-version "9.1" --platform-name "iOS" --app "com.alipay.iphoneclient.butazyh" --udid "187ba13bf48e075f3c201368927d45a5d3d2XXXX" --no-reset --show-ios-log --device-name "iPhone 6 Plus" --native-instruments-lib
    
    info: [debug] Starting Appium in pre-launch mode
    
    info: Pre-launching app
    info: *************************************
    info: *************************************
    info: *************************************
    info: *************************************
    info: *************************************
    info: *************************************
    info: *************************************
    info: *************************************
    info: ****        NEW SESSION           ***
    info: ****        NEW SESSION           ***
    info: ****        NEW SESSION           ***
    info: ****        NEW SESSION           ***
    info: ****        NEW SESSION           ***
    info: ****        NEW SESSION           ***
    info: ****        NEW SESSION           ***
    info: ****        NEW SESSION           ***
    info: *************************************
    info: *************************************
    info: *************************************
    info: *************************************
    info: *************************************
    info: *************************************
    info: *************************************
    info: *************************************
    
    info: [debug] App is an iOS bundle, will attempt to run as pre-existing
    info: [debug] Creating new appium session b27041bb-beeb-4b5c-99af-04d3e350a49d
    
    info: [debug] Removing any remaining instruments sockets
    info: [debug] Cleaned up instruments socket /tmp/instruments_sock
    info: [debug] Auto-detecting iOS udid...
    info: [debug] Not auto-detecting udid, running on sim
    info: [debug] Could not parse plist file (as binary) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.alipay.iphoneclient.butazyh/en.lproj/Localizable.strings
    info: Will try to parse the plist file as XML
    info: [debug] Could not parse plist file (as XML) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.alipay.iphoneclient.butazyh/en.lproj/Localizable.strings
    warn: Could not parse app Localizable.strings assuming it doesn't exist
    info: [debug] Creating instruments
    info: [debug] Preparing uiauto bootstrap
    info: [debug] Dynamic bootstrap dir: /Users/buta/Library/Application Support/appium/bootstrap
    info: [debug] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}
    
    info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
    ...
    info: [debug] Dynamic bootstrap path: /Users/buta/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js
    
    info: [debug] Reusing dynamic bootstrap: /Users/buta/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js
    info: [debug] Attempting iOS device log capture via libimobiledevice idevicesyslog
    
    info: [debug] Creating iDevice object with udid 187ba13bf48e075f3c201368927d45a5d3d2XXXX 
    
  • #69 楼 @mick_god 你解决了么?我也是这样 一直卡在这个界面,弹框这样子的。