async postAllocate(deviceCookie) {
    const { udid } = deviceCookie;
    const { deviceConfig } = this._launchInfo[udid];
    await this._applesimutils.boot(udid, deviceConfig.bootArgs, deviceConfig.headless);

    return {
      id: udid,
      udid,
      type: deviceConfig.type,
      bootArgs: deviceConfig.bootArgs,
      headless: deviceConfig.headless,
    };
  }
@param {IosSimulatorCookie} deviceCookie
@returns {Promise<IosSimulatorCookie>}