Skip to content
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

where is console.log for ios without remote debug? #19745

Closed
fatfatson opened this issue Jun 15, 2018 · 5 comments
Closed

where is console.log for ios without remote debug? #19745

fatfatson opened this issue Jun 15, 2018 · 5 comments
Labels
Platform: iOS iOS applications. Ran Commands One of our bots successfully processed a command. Resolution: For Stack Overflow A question for Stack Overflow. Applying this label will cause issue to be closed. Resolution: Locked This issue was locked by the bot.

Comments

@fatfatson
Copy link

Environment

Run react-native info in your terminal and paste its contents here.
Environment:
OS: macOS Sierra 10.12.6
Node: 9.11.1
Yarn: 1.5.1
npm: 5.6.0
Watchman: Not Found
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
react: ^16.4.0 => 16.4.0
react-native: ^0.55.4 => 0.55.4

Description

react-native log-ios shows nothing about console.log
sometime I don't like to use chrome for remote debug especially when run in real device,
I could not found anything by console.log in either log-ios output or the macos's consoleApp.

@react-native-bot react-native-bot added the Platform: iOS iOS applications. label Jun 15, 2018
@charpeni
Copy link
Contributor

You can see console.log through Xcode output while running the app without having to use chrome for remote debugging.

@charpeni charpeni added the Resolution: For Stack Overflow A question for Stack Overflow. Applying this label will cause issue to be closed. label Jun 15, 2018
@react-native-bot react-native-bot added the Ran Commands One of our bots successfully processed a command. label Jun 15, 2018
@react-native-bot
Copy link
Collaborator

Please use Stack Overflow for this type of question.

@fatfatson
Copy link
Author

hi @charpeni , Xcode output also has nothing about console.log, and I have searched the StackOverflow, there's already an unanswered question about this:
https://stackoverflow.com/questions/47184833/react-native-log-ios-doesnt-work

@Annihil
Copy link

Annihil commented Oct 17, 2018

react-native log-ios command is broken since version 0.5+,
I wrote a small npm package to use it again.

npm i -g react-native-log-ios
react-native-log-ios <XCode Project Name>

@dholbrook86
Copy link

@Annihil Your npm package is just what the doctor ordered! Exactly what I needed! Thank you!

@facebook facebook locked as resolved and limited conversation to collaborators Jun 15, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jun 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: iOS iOS applications. Ran Commands One of our bots successfully processed a command. Resolution: For Stack Overflow A question for Stack Overflow. Applying this label will cause issue to be closed. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants