azure-pipelines-tasks: [BUG]: /usr/bin/xcodebuild failed with return code: 65
New issue checklist
- I searched for existing GitHub issues
- I read pipeline troubleshooting guide
- I checked how to collect logs
Task name
Xcode
Task version
5.231.5
Issue Description
/usr/bin/xcodebuild failed with return code: 65
before build.
But locally build is successful. But locally build is successful. But locally build is successful.
Environment type (Please select at least one enviroment where you face this issue)
- Self-Hosted
- Microsoft Hosted
- VMSS Pool
- Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Mac mini Apple M2 14.1.2 (23B92)
Relevant log output
2023-12-26T07:52:14.2445200Z (2 failures)
2023-12-26T07:52:14.6374690Z ##[error]Error: The process '/usr/bin/xcodebuild' failed with exit code 65
2023-12-26T07:52:14.6988300Z ##[section]Finishing: Xcode archive
Full task logs with system.debug enabled
No response
Repro steps
No response
About this issue
- Original URL
- State: closed
- Created 6 months ago
- Comments: 17 (2 by maintainers)
We’re also seeing the same issue, adding to @eoinnorris that not only the commit it’s exactly the same (including the app and yaml pipeline code), but also the agent OS and image versions are exactly the same
Till the 12th of January worked and now starting from the 19th of January is throwing ##[error]Error: /usr/bin/xcodebuild failed with return code: 65
Also if it can help, yes the error appears at the “start of compilation”, but still after 4/5 minutes the task started to run
P.s. we double checked that certificate and provision profiles are still valid already