首页 > 解决方案 > iphone v14.4.2 和 xcode 12 的 Xcode 构建失败

问题描述

下午好,我正在使用 appium 服务器开发自动化测试脚本。我的 iPhone 更新到 v14.4.2。这次更新后,服务器没有读取这个 iPhone 并且代码要求我从 v10 更新到版本 12,因为新版本的 iPhone 仅在 XCODE 12 中支持。代码更新后,我要求更新服务器到 v21。更新 Xcode 和 appium 服务器后,我尝试使用服务器运行 iPhone,但在 Appium 服务器中收到此错误:

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.

在xcode中我面临这个错误:

‘YYCache/YYCache.h’ file not found

我试图通过更新 carthage 文件来解决 xcode 问题,但同样的问题。请有任何想法

标签: xcodeappiumappium-ios

解决方案


推荐阅读