Skip to content

Conversation

@erisu
Copy link
Contributor

@erisu erisu commented Nov 18, 2025

Placed in draft, waiting for #57


  1. Restructured the spawn method params.
    spawn: function (device, pathToExecutable, argv = [], options = {}) {
    • Removed waitForDebugger spawn param. It should now be passed in with the new options param.
    • Removed arch spawn param. It should now be passed in with the new options param.
    • Added options param.
      Valid Options:
      • waitForDebugger (boolean)
      • arch (string)

Example method usage:

const simctl = require('simctl');
simctl.spawn(
    'device',
    'pathToExecutable',
    // Arguments
    [],
    // Spawn Options
    {
        waitForDebugger: false,
        arch: ''
    }
);

@erisu erisu added this to the 3.0.0 milestone Nov 18, 2025
@erisu erisu requested a review from dpogue November 18, 2025 16:34
1. Removed 'waitForDebugger' spawn param. (Moved to 'options')
2. Removed 'arch' spawn param. (Moved to 'options')
3. Added param 'options' for the spawn options.
   Valid Options:
     - waitForDebugger (boolean)
     - arch (string)
@erisu erisu force-pushed the feat/merge-spawn-method-options branch from 9804c29 to 92788eb Compare November 19, 2025 01:26
@erisu erisu marked this pull request as ready for review November 19, 2025 01:26
@erisu erisu merged commit 69177f1 into ios-control:master Nov 19, 2025
4 checks passed
@erisu erisu deleted the feat/merge-spawn-method-options branch November 19, 2025 01:44
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.

2 participants