AxeMode icon indicating copy to clipboard operation
AxeMode copied to clipboard

Xcode devices list deadlock.

Open alloy opened this issue 10 years ago • 3 comments

  • When you have no simulator devices (e.g. delete ~/Library/Developer/CoreSimulator/Devices)
  • And you have a 3rd-party plug-in installed (e.g. AxeMode)
  • Trying to add a device will deadlock Xcode

Kinda esoteric, more a fun experience than useful, me thinks.

alloy avatar Feb 24 '15 11:02 alloy

At least, this is what seemed to make it work with Xcode 6.2 beta 5. It still doesn’t work for me with Xcode 6.3

alloy avatar Feb 24 '15 11:02 alloy

Ran into these symptoms.

Had Xcode 6.3.2 and 6.4 both installed, named "Xcode 6.3.2.app" and "Xcode 6.4.app" respectively. the xcode-select paths were set correctly for the version that was being used at the time. I trying to run simctl or adding simulators via Xcode's Devices window would cause indefinite hangs. After finding a single stack overflow answer i tried renaming "Xcode 6.3.2.app" back to being just "Xcode.app" and reset the xcode-select path appropriately.

I was instantly able to query the list of devices from simctl. I have not yet tried to add simulators via the Xcode Devices window because I am in the middle of debugging another issue with Xcode Server, but so far the rename has fixed my issues with it.

Note: I was able to use Xcode 6.4's simctl without issues while the name of that app was "Xcode 6.4.app" so I don't know if this is an issue localized to a specific version of Xcode or not.

samdmarshall avatar Jul 17 '15 17:07 samdmarshall

Good stuff, thanks for the info :+1:

alloy avatar Jul 17 '15 21:07 alloy