Intermittent Failures Occur During macOS Build Execution on Bamboo. Below is an Extract from the Failure Logs.
Note: Please note that within our larger Bamboo build environment, several Xcode projects are constructed. Failures occur intermittently across various Xcode projects each time the Bamboo build is initiated. Therefore, these failures are not specific to any particular Xcode project. It's important to emphasize that the Xcode project mentioned, "myProject.xcodeproj," is used purely as a placeholder or example in this context.
which 'xcodebuild'
VALID_ARCHS="x86_64 arm64" ARCHS="x86_64" -project “”myProject.xcodeproj"" -alltargets -configuration "Release" -UseModernBuildSystem=NO
build 08-Feb-2024 09:53:00 Command line invocation:
build 08-Feb-2024 09:53:00 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild "VALID_ARCHS=x86_64 arm64" ARCHS=x86_64 -project myProject.xcodeproj -alltargets -configuration Release -UseModernBuildSystem=NO
build 08-Feb-2024 09:53:00
build 08-Feb-2024 09:53:00 User defaults from command line:
build 08-Feb-2024 09:53:00 IDEPackageSupportUseBuiltinSCM = YES
build 08-Feb-2024 09:53:00 UseModernBuildSystem = NO
build 08-Feb-2024 09:53:00
build 08-Feb-2024 09:53:00 Build settings from command line:
build 08-Feb-2024 09:53:00 ARCHS = x86_64
build 08-Feb-2024 09:53:00 VALID_ARCHS = x86_64 arm64
build 08-Feb-2024 09:53:00
error 08-Feb-2024 09:53:01 objc[39076]: thread is already initializing this class!
error 08-Feb-2024 09:53:01 make[6]: *** [compile] Abort trap: 6