Swift apps built with Xcode 15.0 crash on launch on macOS 10.13. (114820860)
Workaround: Add $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/macosx/libswiftAppKit.dylib to the Other Linker Flags build setting in Xcode. This should be removed when the deployment target is increased to 10.14 or later.
This is a known issue with Xcode 15: https://github.com/apple/swift/issues/68163#issuecomment-1751214910
crash report
Process: Telegram [491] Path: /Applications/Telegram.app/Contents/MacOS/Telegram Identifier: ru.keepcoder.Telegram Version: 10.4 (257114) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Telegram [491] User ID: 502 Date/Time: 2023-12-23 16:55:55.809 +0300 OS Version: Mac OS X 10.13.6 (17G14042) Report Version: 12 Anonymous UUID: 5ACC2F7F-FF46-8466-CF28-AA6906253ACA Time Awake Since Boot: 290 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, [0x3] Wrong version Application Specific Information: dyld: launch, loading dependent libraries Dyld Error Message: Library not loaded: @rpath/libswiftAppKit.dylib Referenced from: /Applications/Telegram.app/Contents/MacOS/Telegram Reason: Incompatible library version: Telegram requires version 45.0.0 or later, but libswiftAppKit.dylib provides version 1.0.0 Binary Images: 0x10e94f000 - 0x1128ee777 +ru.keepcoder.Telegram (10.4 - 257114)Please, fix ASAP! Thanks!