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

Re-target to MacOS 10.7 SDK. Add timeout functionality. #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mpontillo
Copy link

This project was no longer compiling with the latest Xcode. The first 2 commits clean that up.

The third commit adds two command-line parameters:

-t <timeout>
-x

If -t is used by itself, after 2 seconds plus the timeout have elapsed, deviceconsole will check if any more logs have been written out. If not, the program exits. The -x parameter modifies that behavior by exiting immediately after the number of seconds specified in the -t parameter have elapsed.

Change-Id: Ia75390332506beebce3fb490fba29e45a0caee24

(this project was no longer compiling with the latest Xcode)

Change-Id: Ia75390332506beebce3fb490fba29e45a0caee24
This is a better solution than the previous commit, because
we won't have to do this again when the 10.7 SDK is obsolete.

Change-Id: I34238e317f214804038c15ef28cd52eea3b5d6a8
 * Now exits the program if either no logs have been seen
   for the past N seconds (-t <N>), or if N seconds
   have elapsed (-t <N> -x).

Change-Id: I09eec51dd57ccb44f4e09d339d2664e91795d8fe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant