Closed Soben closed 6 years ago
This is a simctl
issue, see: https://github.com/phonegap/simctl/blob/27193e094e2293b06d5d3536d1f99c4785699fdc/simctl.js#L43
Can you verify what you get when you run xcrun simctl help
?
I will keep looking, but yea, when I run that command I get the following error:
$ xcrun simctl help
dyld: Symbol not found: _SimDeviceBootKeyDisabledJobs
Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/simctl
Expected in: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator
in /Applications/Xcode.app/Contents/Developer/usr/bin/simctl
[1] 21400 abort xcrun simctl help
Seems a much larger issue is at play with simctl. I'll see what I can figure out with their documentation, and also consider a full re-install of this as well as xcode, if possible.
XCode apparently was still missing components, even though I've installed those components before.
Looked up the "Symbol not found" and the solution was https://github.com/flutter/flutter/issues/16271 which was to open XCode and expect the dialog to popup that contains something similar to the following:
Problem resolved.
For me it was important to set xcode-select
to the right path. If $ xcode-select -p
prints /Library/Developer/CommandLineTools
, then run sudo xcode-select -s /Applications/Xcode.app
to make sure you're using the right path of tools
Expected behavior
Run no arguments on
ios-sim
and load the simulator with default valuesActual behavior.
running
ios-sim
produces this instead:Running
xcodebuild --versionCheck
fails, but I confirmed I am running XCode 9I uninstalled and re-installed ios-sim just in case I had a versioning issue, with no luck
System Specs
[x] 1. system_profiler SPSoftwareDataType