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

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

问题描述

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

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

编辑/更新:

由于我们所有人仍然有这些烦人的日志,因此我从上面的链接向同一位苹果专家询问了我们的情况,该情况现在专门针对Xcode 9和Swift4.这里是:

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天全站免登陆