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]!) {
}
}