Hello, i need to use metric kit to get system data but when I run the application on my iPhone, the application crash on xcode and I have on the output console this message: (lldb) and i have on my code:
public func cellularDataUsage() -> Any {
let MXNetworkInit = MXNetworkTransferMetric.init()
let cellularDownload = MXNetworkInit.cumulativeCellularDownload
return cellularDownload
}
this error: Thread 1: EXC_BREAKPOINT (code=1, subcode=0x1c0eb7fa8) for the line number 04.
People know why ?
Thank you