Appium 问题一览

Created
Mar 15, 2021 2:13 AM
An unknown server-side error occurred while processing the command. Original error: Could not install '/Users/flintylemming/Downloads/Appium Test/UIKitCatalog.app': - Unexpected data: {"Error":"ApplicationVerificationFailed","ErrorDetail":-1,"ErrorDescription":"Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.dKoeOm/extracted/UIKitCatalog.app : 0xe8008018 (The identity used to sign the executable is no longer valid.)"} - 2021-03-15 10:13:20.098 ios-deploy[2107:23396] [ !! ] Error 0xe8008018: The identity used to sign the executable is no longer valid. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)

在 Xcode 里将 app 重新编译一下,确保能安装到手机上。然后再把编辑好的 .app 文件重新放到配置目录下。

An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
  1. 更换数据线。不要将设备接在 USB Hub 上,如果设备有 Type-C 接口,最好通过 Type-C - Lighting