Skip to content

TypeError: Cannot read property 'devicetypes' of undefined #268

Open
@hershko

Description

I'm getting the following message when running "ios-sim showdevicetypes":

TypeError: Cannot read property 'devicetypes' of undefined
at fixSimCtlList (/usr/local/lib/node_modules/ios-sim/src/helpers.js:12:38)
at getDeviceTypes (/usr/local/lib/node_modules/ios-sim/src/helpers.js:30:10)
at ShowDeviceTypesCommand.run (/usr/local/lib/node_modules/ios-sim/src/commands/showdevicetypes.js:7:25)
at ShowDeviceTypesCommand._run (/usr/local/lib/node_modules/ios-sim/node_modules/@oclif/command/lib/command.js:44:31)
Assafs-MacBook-Pro:ReleaseForRunning-iphonesimulator hershko$ ios-sim showdevicetypes
TypeError: Cannot read property 'devicetypes' of undefined
at fixSimCtlList (/usr/local/lib/node_modules/ios-sim/src/helpers.js:12:38)
at getDeviceTypes (/usr/local/lib/node_modules/ios-sim/src/helpers.js:30:10)
at ShowDeviceTypesCommand.run (/usr/local/lib/node_modules/ios-sim/src/commands/showdevicetypes.js:7:25)
at ShowDeviceTypesCommand._run (/usr/local/lib/node_modules/ios-sim/node_modules/@oclif/command/lib/command.js:44:31)

In case it helps:
The ios-sim version is "ios-sim/9.0.0 darwin-x64 node-v13.11.0".
Node version is "v13.11.0".
macOS Catalina, Xcode 11.3.1.

Thanks :)

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