Error Bash wrote one or more lines to the standard error stream. On macOS 13, Xcode 14.3.1
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### Describe the bug
Running xcbuild on macOS13 agent and Xcode 14.3.1. The pipeline failed with the following error:
Bash wrote one or more lines to the standard error stream.
I have no issue when on macOS13 agent and Xcode 14.2.
For now, I will need to remove `failOnStderr: true` to unblock
### Related command
/Applications/Xcode_14.3.1.app/Contents/Developer/usr/bin/xcodebuild build-for-testing -workspace xxxx.xcworkspace -scheme "xxxxxxx (iOS)" -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 14,OS=16.4" -derivedDataPath build
### Errors
** TEST BUILD SUCCEEDED **
##[error]Bash wrote one or more lines to the standard error stream.
### Issue script & Debug output
N/A
### Expected behavior
The step should pass without error
### Environment Summary
Operating System
macOS
13.5.1
22G90
Runner Image
Image: macos-13
Version: 20230903.1
Included Software: https://github.com/actions/runner-images/blob/macos-13/20230903.1/images/macos/macos-13-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-13%2F20230903.1
Runner Image Provisioner
2.0.299.1
Current image version: '20230903.1'
Agent running as: 'runner'
Prepare build directory.
Set build variables.
Download all required tasks.
Downloading task: 1ESHostedPoolValidation (1.0.22251735)
Downloading task: nuget-security-analysis (0.2.183)
Downloading task: Bash (3.227.0)
Downloading task: CmdLine (2.212.0)
Downloading task: PublishPipelineArtifact (1.199.0)
Downloading task: UsePythonVersion (0.220.0)
Downloading task: PythonScript (0.213.0)
Downloading task: PublishPipelineMetadata (0.216.0)
Downloading task: ComponentGovernanceComponentDetection (0.2320901.1)
Checking job knob settings.
Knob: DockerActionRetries = true Source: $(VSTSAGENT_DOCKER_ACTION_RETRIES)
Knob: AgentToolsDirectory = /Users/runner/hostedtoolcache Source: ${AGENT_TOOLSDIRECTORY}
Knob: AgentEnablePipelineArtifactLargeChunkSize = true Source: $(AGENT_ENABLE_PIPELINEARTIFACT_LARGE_CHUNK_SIZE)
Knob: ContinueAfterCancelProcessTreeKillAttempt = true Source: $(VSTSAGENT_CONTINUE_AFTER_CANCEL_PROCESSTREEKILL_ATTEMPT)
Finished checking job knob settings.
Plugin: 'Test Result Parser plugin' is running in background.
Plugin: 'Test File Publisher plugin' is running in background.
Start tracking orphan processes.
Finishing: Initialize job
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.