Skip to content

ios-sim not found when trying to debug iOS app #3

@indiejames

Description

@indiejames

I have an iOS project that builds and runs fine under XCode and I have installed ios-sim. I'm using the following xcodebuild-tools.json:

{
"sdk": "iphonesimulator11.3",
"workspace": "${workspaceRoot}/Barriers.xcworkspace",
"scheme": "Barriers",
"debugConfigurations": [
{
"name": "Simulator",
"cwd": "${buildPath}",
"program": "ios-sim",
"args": [
"launch", "Barriers.app/",
"--devicetypeid", "com.apple.CoreSimulator.SimDeviceType.iPhone-8, 11.3"
]
}
]
}

When I invoke Xcodebuildtools: Launch Debug Sesssion the build succeeds, but that is followed with an error dialog that syas "launch: program 'ios-sim' does not exist". I have tried changing ios-sim to /usr/local/bin/ios-sim in the xcodebuild-tools.json file, but this does not help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions