After upgrading the existing project to react native v 0.48.3, console.debug is not listing logs when I run the application on the simulator.
It used to work till I upgraded using the react-native upgrade option.
Any suggestion to view the logs using react-native log-ios. I am able to view logs on the Chrome console though, if I run the remote debugger.
React native version: 0.48.3
iOS = macOS Sierra 10.12.6.
react-native log-ios shows
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] :
By default on iOS, it logs to the debug pane inside Xcode. From the iOS simulator, press (⌘+D) and press Remote JS Debugging. This will open a resource, http://localhost:8081/debugger-ui on localhost. From there, use the Chrome Developer tools JavaScript console to view console.log
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With