本机console.debug没有使用log-ios显示日志

时间:2017-09-26 02:47:35

标签: react-native react-native-ios

升级现有项目以对native v 0.48.3做出反应后,当我在模拟器上运行应用程序时,console.debug没有列出日志。 它曾经工作,直到我使用react-native upgrade选项进行升级。

使用react-native log-ios查看日志的任何建议。如果我运行远程调试器,我可以在Chrome控制台上查看日志。

React native version: 0.48.3
iOS = macOS Sierra 10.12.6.

react-native log-ios显示

Scanning 597 folders for symlinks in /Users/James/workspace/ReactNative/my_app/node_modules (4ms)
NOTE:  Most system logs have moved to a new logging system.  See log(1) for more information.
Sep 25 21:36:29 DSSB1234 com.apple.CoreSimulator.SimDevice.57E26096-292C-4C40-9A7A-D0E1092F482C[1625] (com.apple.videosubscriptionsd[2757]) : Service exited with abnormal code: 1
Sep 25 21:36:29 DSSB1234 com.apple.CoreSimulator.SimDevice.57E26096-292C-4C40-9A7A-D0E1092F482C[1625] (com.apple.imfoundation.IMRemoteURLConnectionAgent) : Unknown key for Boolean: EnableTransactions
Sep 25 21:36:29 DSSB1234 com.apple.CoreSimulator.SimDevice.57E26096-292C-4C40-9A7A-D0E1092F482C[1625] (com.apple.imfoundation.IMRemoteURLConnectionAgent) : Unknown key for integer: _DirtyJetsamMemoryLimit
Sep 25 21:36:29 DSSB1234 com.apple.CoreSimulator.SimDevice.57E26096-292C-4C40-9A7A-D0E1092F482C[1625] (com.apple.imfoundation.IMRemoteURLConnectionAgent) : Unknown key for Boolean: EnablePressuredExit
Sep 25 21:36:29 DSSB1234 com.apple.CoreSimulator.SimDevice.57E26096-292C-4C40-9A7A-D0E1092F482C[1625] (com.apple.AssetCacheLocatorService) : Unknown key for Boolean: EnableTransactions
Sep 25 21:36:29 DSSB1234 com.apple.CoreSimulator.SimDevice.57E26096-292C-4C40-9A7A-D0E1092F482C[1625] (com.apple.AssetCacheLocatorService) : Unknown key for Boolean: EnablePressuredExit
Sep 25 21:36:29 DSSB1234 com.apple.CoreSimulator.SimDevice.57E26096-292C-4C40-9A7A-D0E1092F482C[1625] (com.apple.StreamingUnzipService) : Unknown key for Boolean: EnableTransactions
Sep 25 21:36:29 DSSB1234 com.apple.CoreSimulator.SimDevice.57E26096-292C-4C40-9A7A-D0E1092F482C[1625] (com.apple.StreamingUnzipService) : Unknown key for Boolean: EnablePressuredExit
Sep 25 21:36:33 DSSB1234 my_app[2763] : assertion failed: 16G29 15A372: libxpc.dylib + 69578 [D870A237-D3A7-31F5-AAD4-CE880C0C8E7B]: 0x7d
Sep 25 21:36:33 DSSB1234 Unknown[2763] : 

0 个答案:

没有答案