Appium无法使用真实设备iOS打开应用程序

时间:2017-09-26 05:53:17

标签: ios appium

以下是我在appium服务器中设置的功能:

{
  "deviceName": "andrew's iPhone",
  "platformVersion": "10.3.3(14G60)",
  "platformName": "iOS",
  "udid": "cc917xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "app": " /Users/test/Downloads/mydemo.ipa",
  "automationName": "XCUITest"
}

如果我使用默认模拟器而不是真实设备,则相同功能有效。

错误:

An unknown server-side error occurred while processing the command. Original error: Bad app: /Users/test/Downloads/mydemo.ipa. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name.

注意:IPA已经是开发者证书。签名。

Appium日志:

[BaseDriver] Copying local zip to tmp dir
[XCUITest] Error: Local zip did not exist
    at copyLocalZip$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/helpers.js:104:11)
    at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] 

0 个答案:

没有答案