Skip to content

Tests: Fix xcode version detection for Xcode 13 on ARM

Brad King requested to merge brad.king/cmake:test-xcode-13 into master

Running xcode -version on an ARM box prints content to stderr:

objc[...]: Class ... is implemented in both...
One of the two will be used. Which one is undefined.

Capture and parse only stdout. Otherwise we might configure test behavior for the wrong version of Xcode.


Backport: release

Edited by Brad King

Merge request reports