Crash due to missing symbols from libc++ [macOS 11.7.10] [Big Sur]

We are seeing a crash on Big Sur 11.7.10 after switching the build system to use Xcode 15

Excerpt from crash

Time Awake Since Boot: 1700 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x4] Symbol missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Symbol not found: __ZNSt3__17codecvtIDiDu11__mbstate_tE2idE
  Referenced from: /Applications/SecureworksTaegis.app/Contents/MacOS/com.secureworks.agent.daemon.app/Contents/MacOS/com.secureworks.agent.daemon
  Expected in: /usr/lib/libc++.1.dylib
 in /Applications/SecureworksTaegis.app/Contents/MacOS/com.secureworks.agent.daemon.app/Contents/MacOS/com.secureworks.agent.daemon

Build system has the following specs :

ProductName: macOS ProductVersion: 14.3.1 BuildVersion: 23D60

Xcode 15.2 Build version 15C500b

CMAKE PROPS

  • set(CMAKE_CXX_STANDARD 20)
  • set(CMAKE_CXX_EXTENSIONS OFF)
  • set(CMAKE_OSX_DEPLOYMENT_TARGET 11.0)

ProductName: macOS ProductVersion: -->14.3.1<-- BuildVersion: 23D60 - Upgrading the OS is required.

Crash due to missing symbols from libc++ [macOS 11.7.10] [Big Sur]
 
 
Q