xcode 模拟器打开时从私人有效用户设置警告中读取
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/41416048/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Reading from private effective user settings warning when simulator opening
提问by Sajad
When I click on textField to open simulator keyboard in the Xcode this wraning show up:
当我单击 textField 在 Xcode 中打开模拟器键盘时,会出现以下提示:
2017-01-01 17:19:38.668544 FirebaseChat[12334:2921090] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/sajad/Library/Developer/CoreSimulator/Devices/79C88538-E4D6-4CEF-8B20-8D514CF453A8/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2017-01-01 17:19:38.669484 FirebaseChat[12334:2921090] [MC] Reading from private effective user settings.
I use xcode 8 and swift 3.
我使用 xcode 8 和 swift 3。
How can I fix this?
我怎样才能解决这个问题?
回答by Nguy?n Quang Tu?n
This is a bug in the beta and it seems that this message appears primarily when clicking on a Text Field or Text View or other similar NSObject.
这是测试版中的一个错误,似乎此消息主要在单击文本字段或文本视图或其他类似的 NSObject 时出现。
This is only a log message and not a compile error message as signified by the date and time preceding the message. Therefore if your code is not working it is not a result of this console message.
这只是一条日志消息,而不是消息前面的日期和时间所表示的编译错误消息。因此,如果您的代码不起作用,则不是此控制台消息的结果。
If you run on a device the message will be [MC] Reading from public effective user settings. If you run on the sim the message will be [MC] Reading from private effective user settings.
如果您在设备上运行,消息将是 [MC] 从公共有效用户设置中读取。如果您在 sim 上运行,消息将是 [MC] 从私人有效用户设置中读取。
There for , if xcode build successed then You don't care
那里,如果 xcode 构建成功,那么你不在乎