Skip to content

ios list command used in framework is not working #877

@mohakbarokar

Description

@mohakbarokar

Getting exception as following:

Exception in thread "main" java.lang.IllegalStateException: Not a JSON Object: null
at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:165)
at com.znsio.teswiz.runner.LocalDevicesSetup.getListOfIOSDevices(LocalDevicesSetup.java:96)
at com.znsio.teswiz.runner.LocalDevicesSetup.getConnectedIOSDevices(LocalDevicesSetup.java:88)
at com.znsio.teswiz.runner.LocalDevicesSetup.setupLocalIOSExecution(LocalDevicesSetup.java:109)
at com.znsio.teswiz.runner.DeviceSetup.setupIOSExecution(DeviceSetup.java:395)
at com.znsio.teswiz.runner.Setup.setupExecutionEnvironment(Setup.java:255)
at com.znsio.teswiz.runner.Setup.getExecutionArguments(Setup.java:172)
at com.znsio.teswiz.runner.Runner.(Runner.java:54)
at com.znsio.teswiz.runner.Runner.main(Runner.java:204)

while debugging i found that FW is hitting "ios list" command which is not getting recognised in my machine. also ios executable binary is not available under "/opt/homebrew/bin/ios"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions