Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/119.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 无法启动具有捆绑标识的进程';com.apple.test.WebDriverAgentRunner&x27;_Ios_Xcode_Mobile Safari_Appium Ios_Safaridriver - Fatal编程技术网

Ios 无法启动具有捆绑标识的进程';com.apple.test.WebDriverAgentRunner&x27;

Ios 无法启动具有捆绑标识的进程';com.apple.test.WebDriverAgentRunner&x27;,ios,xcode,mobile-safari,appium-ios,safaridriver,Ios,Xcode,Mobile Safari,Appium Ios,Safaridriver,当我试图在iOS上使用appium安装webdriverlauncher时,我看到了上面的错误,但是xcode构建成功了。 Xcode生成通过应用程序失败。我在xcode中手动更改了bundle标识符,但它无法理解com.apple.test.WebDriverAgentRunner的调用位置 谁能帮忙吗。提前感谢我用以下方法解决了问题 正如@Jade所说,确保您信任设备中的应用程序,并遵循以下步骤 导航到终端中的appium webdriveragent文件夹 运行以下命令 xcodebuil

当我试图在iOS上使用appium安装webdriverlauncher时,我看到了上面的错误,但是xcode构建成功了。 Xcode生成通过应用程序失败。我在xcode中手动更改了bundle标识符,但它无法理解com.apple.test.WebDriverAgentRunner的调用位置
谁能帮忙吗。提前感谢

我用以下方法解决了问题

正如@Jade所说,确保您信任设备中的应用程序,并遵循以下步骤

  • 导航到终端中的appium webdriveragent文件夹
  • 运行以下命令
  • xcodebuild-project webdrivergent.xcodeproj-scheme webdrivergentrunner-destination'id='-allowProvisioningUpdates GCC\u视警告为错误=0测试
    

    此方法解决了我的问题。

    您信任iOS设备上的应用程序吗?要执行此操作,请转到“设置”->“常规”->“配置文件和设备管理”
    ./Scripts/bootstrap.sh && npm i --package-lock-only && npm audit fix && ./Scripts/bootstrap.sh (These 2 lines are single command and it is optional)
    
    xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=<udid>' -allowProvisioningUpdates GCC_TREAT_WARNINGS_AS_ERRORS=0 test