XCode 11.5 LLDB crashes on break point (reproducible)

Put this code in a developing pod, set a break point in that pod, you may get:


Message from debugger: The LLDB RPC server has crashed. The crash log is located in ~/Library/Logs/DiagnosticReports and has a prefix blah, blah


The same code won't bother XCode 11.3.1, but any xc version above that


Plz fix this, very annoying mistake


I used xcode for more than 8 years, only xcode 3 ~ 4 is something remarkable, after that tons of bugs


Please be reliable, my friend


public class AppsFlyerService: Service {

public static let shared = AppsFlyerService()

private var hasHandled = false


private override init() {

super.init()


AppsFlyerTracker.shared().appsFlyerDevKey = AppsFlyerDevKey

AppsFlyerTracker.shared().appleAppID = Constants.AppleAppID

AppsFlyerTracker.shared().delegate = self


AppsFlyerTracker.shared().isDebug = false


let idfa = ASIdentifierManager.shared().advertisingIdentifier.uuidString

print(idfa)


}


override public func applicationDidBecomeActive() {

AppsFlyerTracker.shared().trackAppLaunch()

}

}


extension AppsFlyerService: AppsFlyerTrackerDelegate {

public func onAppOpenAttributionFailure(_ error: Error!) {

}


public func onAppOpenAttribution(_ attributionData: [AnyHashable: Any]!) {

}




public func onConversionDataRequestFailure(_ error: Error!) {

}



public func onConversionDataReceived(_ installData: [AnyHashable: Any]!) {

}

}

Be aware that when debugging Swift apps, all the components with swift code need to be rebuilt locally. So make sure that when you are developing Pods, you don't download binaries but rather build all your Pods locally with the version of Xcode whose debugger you are using.

If that doesn't fix the issue, can you file a report with the Apple Feedback system, including the example project that is crashing for you and the crash report for lldb-rpc-server? Thanks!
XCode 11.5 LLDB crashes on break point (reproducible)
 
 
Q