appcenter-docs icon indicating copy to clipboard operation
appcenter-docs copied to clipboard

xcrun instruments -s devices doesn't return a list of simulators

Open biozal opened this issue 3 years ago • 0 comments

In the directions it states to use:

xcrun instruments -s devices

but on my Mac this doesn't return a list of simulators instead I get: ❯ xcrun instruments -s devices xcrun: error: sh -c '/Applications/Xcode-13.2.0.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode-13.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find instruments 2> /dev/null' failed with exit code 17664: (null) (errno=Invalid argument) xcrun: error: unable to find utility "instruments", not a developer tool or in PATH

If I run this, however, I do get a list of simulators: xcrun simctl list

I believe the documentation needs to be updated.

Thanks, Aaron


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

biozal avatar Feb 14 '22 20:02 biozal