还未发布过话题
  • 模拟器运行待测试 APP,运行脚本./smart_monkey -a XXXX -w 01A87893-4BDC-462E-BDF9-F95485325F17 -n 3 -t 500 报错如下:求解答!多谢多谢!

    INSTRUMENTS_TRACE_PATH : /Users/sabrina/Documents/repository/smart_monkey/bin/*.trace
    RESULT_BASE_PATH : /Users/sabrina/Documents/repository/smart_monkey/bin/smart_monkey_result
    {:app_path=>"XXXXXX", :device=>"01A87893-4BDC-462E-BDF9-F95485325F17", :run_count=>3, :time_limit_sec=>500, :detail_event_count=>50}
    =================================== Start Test (1/3) =======================================
    sh: -c: line 0: syntax error near unexpected token ('
    sh: -c: line 0:
    idevicecrashreport -u 01A87893-4BDC-462E-BDF9-F95485325F17 (Simulator) -e -k /Users/sabrina/Documents/repository/smart_monkey/bin/smart_monkey_result/report_20161226130851/crash_1'
    Attempting iOS device system log capture via deviceconsole.
    Stop iOS system log capture.
    Invalid device, Please given a vaild device!

    ps:模拟器的信息如下:
    iPhone 4s (8A4E4510-2450-460C-A2F7-95A22157F3FE) (Shutdown)
    iPhone 5 (B837B9F0-C687-4553-BF9F-E678E28F2D46) (Shutdown)
    iPhone 5s (DAD6A293-AD40-4700-AE42-5091D4F3B2F2) (Shutdown)
    iPhone 6 (7B9443CD-84B7-4014-8680-82CFB128135C) (Shutdown)
    iPhone 6 Plus (CFAE8A9A-570C-4AC5-9B40-33651417BEA1) (Shutdown)
    iPhone 6s (01A87893-4BDC-462E-BDF9-F95485325F17) (Booted)
    iPhone 6s Plus (BF238D53-6764-498B-95B5-B2C269B640BA) (Shutdown)
    iPad 2 (9E5D6212-14C0-498F-AEFD-82281B6CFE8C) (Shutdown)
    iPad Retina (C45A4253-8B17-4C13-80EB-0473E5D93E44) (Shutdown)
    iPad Air (E95EB58F-3999-4B4E-AB44-2CBAE0ED990C) (Shutdown)
    iPad Air 2 (A4D91460-7E62-4E58-AEAA-105B478F1533) (Shutdown)
    iPad Pro (84311B71-E26C-4FA1-A11A-0AC35FB62AED) (Shutdown)