还未发布过话题
  • @Lihuazhang 我是 appium 新手,想在 Mac 上连真机执行自动化测试脚本,遇到一个问题,启动 inspector 就会报这个错误
    [debug] [UIAuto] Reusing dynamic bootstrap: /Users/pinschengdu/Library/Application Support/appium/bootstrap/bootstrap-f833f7f1c340492a.js
    [debug] [iOS] Running ios real device reset flow
    [debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
    [debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'

    [debug] [iOS] Creating iDevice object with udid 52cf4251f0d7d7c2e7dfee9c0953330de6d85463

    [MJSONWP] Encountered internal error running command: Error: Command failed: ideviceinstaller -u 52cf4251f0d7d7c2e7dfee9c0953330de6d85463 -l
    dyld: Library not loaded: /usr/local/lib/libplist.3.dylib
    Referenced from: /usr/local/bin/ideviceinstaller
    Reason: no suitable image found. Did find:
    /usr/local/lib/libplist.3.dylib: mach-o, but wrong architecture
    /usr/local/lib/libplist.3.dylib: mach-o, but wrong architecture

    at ChildProcess.exithandler (child_process.js:202:12)
    at emitTwo (events.js💯13)
    at ChildProcess.emit (events.js:185:7)
    at maybeClose (internal/child_process.js:850:16)
    at Socket. (internal/child_process.js:323:11)
    at emitOne (events.js:90:13)
    at Socket.emit (events.js:182:7)
    at Pipe._onclose (net.js:475:12)

    在 usr/local/lib 目录下是有这个 libelist.3. dylib 这个 文件的,搜了一些解决方法,更新了 brew,重新装了 ideviceinstaller, 依然报这个错误,请楼主帮忙指导一下