You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I first time used moya framework and once I made a function want to get data from localhost:
func getUsrDatasReg(account: String, pass: String) -> Void {
getData.request(ServiceType.usr(detailType: .register(account: account, pass: pass))){
ret in
switch ret{
case .success(let ok):
print(ok.data, ok.statusCode)
case .failure(let err):
print(MoyaError.statusCode, err)
}
}
}
it didn't come into 'ret in' closure when I check breakpoint, and it says handler for XPC error: Connection invalid, why cause such problem, how to fix?
The text was updated successfully, but these errors were encountered:
In that case, it’s probably a bug in iOS itself. Third-party code can’t use XPC on iOS, so unless you’ve done some complex reverse-engineering, that particular error is almost certainly not the fault of your own code.
I first time used moya framework and once I made a function want to get data from localhost:
it didn't come into 'ret in' closure when I check breakpoint, and it says handler for XPC error: Connection invalid, why cause such problem, how to fix?
The text was updated successfully, but these errors were encountered: