-
Notifications
You must be signed in to change notification settings - Fork 952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: iOS Logs are not visible in client #484
Comments
There shouldn't be anything you need to setup. @priteshrnandgaonkar do you have any ideas how to debug this? |
I am having a similar issue. I can't see any logs for a physical ios device. For a simulator, I see some log messages but not custom log messages written in the app. The log messages I see seem to be coming from the phone os itself. |
Apologies for the late reply. It works for me. I built the Flipper app from the source. |
Can you open the console (cmd + option + i) and check if there is any error ? |
I'm using latest version 0.23.4 (installed, autoupdated)
There is no log from print or NSLog, i'm using swift not objective c in project if that makes a difference My init:
|
I am able to reproduce the issue on the swift sample app. Let me see what is the issue. |
Can confirm. I'm having a difficult time getting iOS Simulator to work as well. Initialized via react-native init reactNative610Rc --version react-native@0.61.0-rc.0 Android logs show just fine, but not iOS. Same for simulator (not even app-specific). Android simulator logs show, but not iOS |
the problem is with the swift apps not with an objective c apps. |
I could see NSLOG but console.log is not showing |
console.log won't show up in the Logs plugin. @mweststrate, are console.log in hermes debugger ? |
console.log should show up in the Logs plugin under the |
If it's your first time running Flipper, restart it. It did not initially work for me either. The only thing that showed up in Flipper was a single Restarting Flipper fixed everything. The |
Hi, I'm trying to read console.log via the React Native Logs plugin, but it says 'client_log : JavaScript logs will appear in your browser console'. Also it always opens a Chrome tab for 'http://localhost:8081/debugger-ui/'. I thought Flipper would replace that. any thoughts ? P.S.: Ok, I disabled debug on the device and now it works |
I can confirm that disabling debugging in the 'shake' menu results in the logs showing up just fine (warn, debug, etc), however, now I cannot debug in my IDE anymore :D Any idea why debugging mode would block logs from coming through? I'm using Sentry, and its initialization logs are coming through just fine, but only in the device logs, not the React Native logs. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
I've completed setup for app. I see Layout/Network/SharedPreferences plugins and they work. But i don't get any logs Logs (print,nslog,oslog). It is working only for android. Is it a bug or i've setup something else?
The text was updated successfully, but these errors were encountered: