Skip to content

Conversation

@erisu
Copy link
Contributor

@erisu erisu commented Nov 18, 2025

  1. Removed SimCtlExtensions.log method.
  2. Removed npm package dependency tail.
  3. Restructured the launch method params.
    launch: function (device, appIdentifier, argv = [], options = {}) {
    • Removed waitForDebugger launch param. It should now be passed in with the new options param.
    • Added options param.
      Valid Options:
      • waitForDebugger (boolean)
      • stderr (string) - path to the log file
      • stdout (string) - path to the log file
      • arch (string)

How to Log:

Pass in stdout and stderr in the launch option param.

Example method usage:

const simctl = require('simctl');
simctl.launch(
    'deviceId',
    'appIdentifier',
    // Arguments
    [],
    // Launch Options
    {
        waitForDebugger: false,
        stderr: '/some/valid/path/to/simulator.log',
        stdout: '/some/valid/path/to/simulator.log'
    }
);

@erisu erisu added this to the 3.0.0 milestone Nov 18, 2025
@erisu erisu requested a review from dpogue November 18, 2025 07:49
@erisu erisu force-pushed the feat/move-log-flag-to-launch branch from 836bb88 to 4a319a2 Compare November 18, 2025 08:10
1. Removed 'waitForDebugger' launch param. (Moved to 'options')
2. Added param 'options' for the launch options.
   Valid Options:
     - waitForDebugger (boolean)
     - stderr (string) - path to the log file
     - stdout (string) - path to the log file
     - arch (string)
@erisu erisu force-pushed the feat/move-log-flag-to-launch branch from 4a319a2 to 432862e Compare November 18, 2025 08:39
@erisu erisu requested a review from dpogue November 18, 2025 08:45
@erisu erisu merged commit 1f8438d into ios-control:master Nov 19, 2025
4 checks passed
@erisu erisu deleted the feat/move-log-flag-to-launch branch November 19, 2025 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants