什么是 iOS11/Xcode 9 中的 TIC 读取状态 1:57? [英] What is TIC Read Status 1:57 in iOS11/Xcode 9?

查看:26
本文介绍了什么是 iOS11/Xcode 9 中的 TIC 读取状态 1:57?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新到 Xcode 9 后,使用 Swift 3 和 iPhone X 模拟器,我的控制台充满了:

After updating to Xcode 9, using Swift 3 and the iPhone X simulator, my console is full of:

TIC Read Status [11:0x0]: 1:57
TIC Read Status [11:0x0]: 1:57
TIC Read Status [11:0x0]: 1:57
...

那是什么,我该如何解决?非常感谢帮助.

What is that and how do I fix it? Help is very appreciated.

PS:我不喜欢在构建方案中使用 Environment Variable 来沉默"它.

PS: I prefer not to just "silence" it with an Environment Variable in the build scheme.

推荐答案

Apple 工作人员给出了以下答案:

Apple staff gave the following answer:

TIC 扩展为TCP I/O 连接",它是 CFNetwork 中运行 TCP 连接的子系统

TIC expands to "TCP I/O connection", which is a subsystem within CFNetwork that runs a TCP connection

157 分别是 CFStreamError 域和代码;1 的域是 kCFStreamErrorDomainPOSIX,在该域中,57 是 ENOTCONN

1 and 57 are the CFStreamError domain and code, respectively; a domain of 1 is kCFStreamErrorDomainPOSIX and, within that domain, 57 is ENOTCONN

简而言之,使用 ENOTCONN 的 TCP 读取失败.

In short, a TCP read has failed with ENOTCONN.

由于 TCP I/O 连接子系统没有公共 API,您必须通过一些高级包装器(如 NSURLSession)使用它.

As the TCP I/O connection subsystem has no public API, you must necessarily be using it via some high-level wrapper (like NSURLSession).

来源:https://forums.developer.apple.com/thread/66058

编辑/更新:

由于我们仍然有这些烦人的日志,我通过上述链接向同一位 Apple 专家询问了我们的情况,现在专门针对 Xcode 9 和 Swift 4.这里是:

Since we are all still having these annoying logs, I asked to the same Apple specialist from the above link about our situation, which is now specific for Xcode 9 and Swift 4. Here it is:

很多人都在抱怨这些日志,自从我升级到 Xcode 9/iOS 11 以来,我的所有应用程序中都有这些日志.

2017-10-24 15:26:49.120556-0300 MyApp[1092:314222] TIC Read Status [55:0x0]: 1:57  
2017-10-24 15:26:49.120668-0300 MyApp[1092:314222] TIC Read Status [55:0x0]: 1:57  
2017-10-24 15:26:49.626199-0300 MyApp[1092:314617] TIC Read Status [56:0x0]: 1:57

他的回答:

重要的是要意识到这个 ENOTCONN 并不一定意味着出现任何问题.所有版本的 HTTP 都需要关闭的 TCP 连接.因此,除非有其他与此错误相关的症状,否则我的建议是您忽略它.

It’s important to realise that this ENOTCONN does not necessarily mean that anything has gone wrong. Closed TCP connections are expected in all versions of HTTP. So, unless there’s some other symptom associated with this error, my recommendation is that you ignore it.

来源:https://forums.developer.apple.com/message/272678#272678

解决方案:等待 Xcode 9 的更新版本/更新.

这篇关于什么是 iOS11/Xcode 9 中的 TIC 读取状态 1:57?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆