Posts

Post not yet marked as solved
0 Replies
200 Views
I was hoping someone here can shed some light on SourceKit crashes I'm experiencing fairly frequently. Ideally, I'd like to know the source file & line number that was processed when the crash occurred, maybe this information exists somewhere? Here's the console output of ReportCrash for one of the crashes: ASI found [sourcekitdInProc] (sensitive) 'Stack dump: 0. While performing new IDE inspection 1. While evaluating request IDEInspectionSecondPassRequest(source_file "/Users/User/ASourceFileIWasEditing.swift", ) 2. While reading from module 'AModuleOfMine', builder version '5.8.1(5.8.1)/Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)', built from source, non-resilient, built with -experimental-allow-module-with-compiler-errors, loaded from '/Users/User/Library/Developer/Xcode/DerivedData/WorkSpace/Index.noindex/Build/Products/Debug-iphonesimulator/AModuleOfMine.framework/Modules/AModuleOfMine.swiftmodule/arm64-apple-ios-simulator.swiftmodule' Formulating fatal 309 report for corpse[3037] SourceKitService Unable to find store record for 'file:///Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/sourcekitd.framework/Versions/A/XPCServices/SourceKitService.xpc/': Error Domain=NSOSStatusErrorDomain Code=-10811 "kLSNotAnApplicationErr: Item needs to be an application, but is not" UserInfo={_LSLine=175, _LSFunction=_LSFindBundleWithInfo_NoIOFiltered} com.apple.SourceKitService.5.8.0.124.5_default is not a MetricKit client I've attached the crash report. I'm using Xcode 14.3.1 on macOS Venture 13.5.2. Is any of this information enough to get some clue what causes the crashes? Are there maybe some additional log files somewhere, or some diagnostics options i can set in the build settings to figure out what's happening?
Posted
by jasamer.
Last updated
.