Azure iOS 管道在 xCode 11.4 后失败

Azure iOS pipeline get failed after xCode 11.4

将 Xcode 版本更新到 11.4 或 11.4.1 或 11.5 后出现以下错误。管道在 11.3.1 版本上运行良好。有人面临同样的问题吗?

xcrun: error: missing DEVELOPER_DIR path: /Applications/Xcode_11.5.app/Contents/Developer

即使我将 xCode 版本设置为默认版本,它也会选择 xCode 11.3.1,而在 Azure 文档中它表示默认版本是 11.4.1。

https://github.com/microsoft/azure-pipelines-image-generation/blob/master/images/macos/macos-10.15-Readme.md

提前感谢您的帮助。

在我的测试中,当我使用 macOS-10.15 托管代理到 运行 时,Xcode 的默认版本是 11.4.1

您可以检查您是否在 pipleine 日志中使用了 macOS-10.15 图像。