赞
踩
报错:
- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
- xcodebuild error message:
- . 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.
解决方案:
到 https://developer.apple.com/account 网站上获取teamid
在启动的desired_capabilities中添加 xcodeOrgId参数,把teamid赋值上去,如图
- caps = {
- "platformName": "iOS",
- "platformVersion": "14.0",
- "deviceName": "iPhone",
- "bundleId": "XXXXXXX",
- "udid": "a79c20ef6436179b601f9a81ffaa7c",
- "xcodeOrgId":"HD123456789",
- "app": "path of .ipa"
- }
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。