Xcode: IOS_INSTALL_COMBINED in "new build system"
As described in #21281 (closed), we try to get an ios framework fatlib containing iphonesimulator and iphoneos plattforms using the new xcode 12. The xcode 12 did break the build for latest stable cmake, because of double arm64 targets feeding to lipo. Nevertheless cmake-nightly 3.18.20201007-g2e53641
is able to handle this correctly, but it does introduce also the "new build system" triggering the following build error:
...
[iOS combined] Architectures (iphoneos): arm64 arm64e armv7 armv7s
[iOS combined] Architectures (iphonesimulator): arm64 arm64e i386 x86_64
[iOS combined] Architectures (iphonesimulator) after pruning: i386 x86_64
[iOS combined] Build `<stripped>` for `iphonesimulator`
Command line invocation:
<stripped>Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project <stripped>.xcodeproj build -target <stripped> -parallelizeTargets -configuration Release -hideShellScriptEnvironment -sdk iphonesimulator
User defaults from command line:
HideShellScriptEnvironment = YES
Build settings from command line:
SDKROOT = iphonesimulator14.0
TOOLCHAINS = com.apple.dt.toolchain.XcodeDefault
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Build system information
error: unable to attach DB: error: accessing build database "<stripped>/_builds/build/XCBuildData/build.db": database is locked Possibly there are two concurrent builds running in the same filesystem location.
** BUILD FAILED **
Edited by Brad King