Github user riknoll commented on a diff in the pull request:

    https://github.com/apache/cordova-medic/pull/73#discussion_r51514960
  
    --- Diff: medic/medic-log.js ---
    @@ -69,18 +70,72 @@ function logBlackberry() {
         return;
     }
     
    -function logIOS() {
    -    var logScriptpath = path.join("mobilespec", "platforms", "ios", 
"cordova", "console.log");
    -    var command = "cat " + logScriptpath;
    +function logIOS(appPath) {
    +    // We need to print out the system log for the simulator app. In order 
to figure
    +    // out the path to that file, we need to find the ID of the simulator 
running
    +    // mobilespec
    +
    +    // First, figure out the simulator that ran mobilespec. "cordova run"" 
just chooses
    +    // the last simulator in this list that starts with the word "iPhone"
    +    shelljs.pushd(appPath);
    +
    +    var findSimCommand = getLocalCLI() + " run --list --emulator | grep 
^iPhone | tail -n1";
    --- End diff --
    
    Why would the Windows build machines run this? It's iOS


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to