Я Тринга запустить appium тесты на реальном устройстве, но он терпит неудачу на этом этапе:Запуск ИОС приложение на реальном устройстве с appium дает ошибку с ideviceinstaller
.
.
.
info: [debug] App is not installed. Will try to install the app.
info: [debug] Cleaning up appium session
error: Failed to start an Appium session, err was: Error: Command failed: /bin/sh -c ideviceinstaller -u 688d4920c35beee00c151029f0ec4fc177c2de08 -i /Users/a8/Myapp/capture_page_response_time/Build/Products/Debug-iphoneos/Myapp.app
dyld: Library not loaded: /usr/local/lib/libusbmuxd.4.dylib
Referenced from: /usr/local/opt/libimobiledevice/lib/libimobiledevice.6.dylib
Reason: image not found
info: [debug] Error: Command failed: /bin/sh -c ideviceinstaller -u 688d4920c35beee00c151029f0ec4fc177c2de08 -i /Users/a8/Myapp/capture_page_response_time/Build/Products/Debug-iphoneos/Myapp.app
dyld: Library not loaded: /usr/local/lib/libusbmuxd.4.dylib
Referenced from: /usr/local/opt/libimobiledevice/lib/libimobiledevice.6.dylib
Reason: image not found
at ChildProcess.exithandler (child_process.js:751:12)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Command failed: /bin/sh -c ideviceinstaller -u 688d4920c35beee00c151029f0ec4fc177c2de08 -i /Users/a8/Myapp/capture_page_response_time/Build/Products/Debug-iphoneos/Myapp.app\ndyld: Library not loaded: /usr/local/lib/libusbmuxd.4.dylib\n Referenced from: /usr/local/opt/libimobiledevice/lib/libimobiledevice.6.dylib\n Reason: image not found\n)","killed":false,"code":null,"signal":"SIGTRAP","cmd":"/bin/sh -c ideviceinstaller -u 688d4920c35beee00c151029f0ec4fc177c2de08 -i /Users/a8/Myapp/capture_page_response_time/Build/Products/Debug-iphoneos/Myapp.app","origValue":"Command failed: /bin/sh -c ideviceinstaller -u 688d4920c35beee00c151029f0ec4fc177c2de08 -i /Users/a8/myapp/test/Build/Products/Debug-iphoneos/Myapp.app\ndyld: Library not loaded: /usr/local/lib/libusbmuxd.4.dylib\n Referenced from: /usr/local/opt/libimobiledevice/lib/libimobiledevice.6.dylib\n Reason: image not found\n"},"sessionId":null}
Что мне не хватает? Я установил ideviceinstaller вручную. Я использую Xcode: 7.2, Appium: 1.3.13, iPhone: 5s, 6, iOS 9.0
Я видел похожие сообщения, но не нашел решения, которые могли бы мне помочь. Одно существо: Appium iOS real device - issue with ideviceinstaller
вы побежали './reset.sh --ios --реального-safari'? –
Нет, я этого не сделал. в каком каталоге я это делаю? (Я должен запускать тесты в приложении iOS) – user2525211
Добавлено ответ с объяснением. Если вам нужно больше деталей, с удовольствием помогите. –