Skip to content

Xcode: Detect architecture(s) using ARCHS instead of CURRENT_ARCH

Brad King requested to merge brad.king/cmake:xcode-10-archs into master

Xcode 10 no longer populates CURRENT_ARCH with the current architecture in shell scripts and instead uses undefined_arch. Instead we must use ARCHS. It lists all architectures separated by spaces.

Fixes: #18085 (closed)

Merge request reports