Dringend-Issues icon indicating copy to clipboard operation
Dringend-Issues copied to clipboard

Console

Open alessaba opened this issue 11 years ago • 9 comments

Is it possible to make a console with warnings,errors and NSLogs? it would be so useul :-)

alessaba avatar May 17 '14 16:05 alessaba

This would be cool but I don't see how he can make that happen. The app is installed once that happens your sandboxed. There are someways to access the devices console programatically.

I did some research googling "ios access device console programmatically". There is some stuff you can do within your own app... I thought this one was particularly interesting. https://github.com/nicklockwood/iConsole"

jmurff avatar May 17 '14 22:05 jmurff

I don't know if it can be useful but there's an app that reads logs https://itunes.apple.com/it/app/consolekit/id648875678?mt=8 it is not the only one....

Filippo Claudi

Il giorno 18/mag/2014, alle ore 00:07, Jim [email protected] ha scritto:

This would be cool but I don't see how he can make that happen. The app is installed once that happens your sandboxed. Unless there is someway to access the devices console programatically.

— Reply to this email directly or view it on GitHub.

alessaba avatar May 18 '14 09:05 alessaba

@filippocld Whilst it was possible in the past to access the device log, as of iOS 7 it is no longer. That app you linked does not work on iOS 7. There are alternatives I am considering for collecting the NSLog outputs from installed apps however which may be viable.

SquaredTiki avatar May 18 '14 10:05 SquaredTiki

uh :-( ok..i'll wait :-)

Filippo Claudi

Il giorno 18/mag/2014, alle ore 12:06, Joshua Garnham [email protected] ha scritto:

@filippocld Whilst it was possible in the past to access the device log, as of iOS 7 it is no longer. That app you linked does not work on iOS 7. There are alternatives I am considering for collecting the NSLog outputs from installed apps however which may be viable.

— Reply to this email directly or view it on GitHub.

alessaba avatar May 18 '14 10:05 alessaba

iConsole seems to work for me to bring up an in app console.

jmurff avatar May 23 '14 01:05 jmurff

Yes.. but the goal is printing log of another app in Dringend...

Filippo Claudi

Il giorno 23/mag/2014, alle ore 03:17, Jim [email protected] ha scritto:

iConsole seems to work for me to bring up an in app console.

— Reply to this email directly or view it on GitHub.

alessaba avatar May 23 '14 11:05 alessaba

I've implemented this into my own app and it should be really simple to build this into Dringend. The setup utilizes a server (which would be implmented into the Dringend app) and a client framework. The client framework sends logs to the server over HTTP and then the server appliction can trigger background banner notifications. You can also add something like log levels, filtering, and other fancy features that are not normally offfered by a standard text console.

ezhes avatar Jun 09 '15 17:06 ezhes

@shusain93 Thanks for the details and indeed this is the most feasible way at the moment. The issue will be automatically integrating such a framework into the users projects.

SquaredTiki avatar Jun 09 '15 17:06 SquaredTiki

It doesn't need to be automatic, I suppose. I haven't done much when it comes to manually adding frameworks to the Xcode configure, but wouldn't it be possible to just add a framework like normal, open the file as text, find all the places Xcode put the framework, and then whenever someone wants to add the framework automatically the app can just insert the framework decorations into the spots you found before. I think you would end up needing to hardcore some value to look for, which would cause issues with SDK changes

On Tue, Jun 9, 2015 at 10:03 AM, Joshua Garnham [email protected] wrote:

@shusain93 Thanks for the details and indeed this is the most feasible way at the moment. The issue will be automatically integrating such a framework into the users projects.

Reply to this email directly or view it on GitHub: https://github.com/SquaredTiki/Dringend-Issues/issues/70#issuecomment-110434729

ezhes avatar Jun 09 '15 21:06 ezhes