Xcode: Detect architecture(s) using ARCHS instead of CURRENT_ARCH
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)