1

I installed xcode 12.4 released on 26th Jan 21.

I have symlink /Library/Developer to external drive. My DerivedData and Archives also point to external drive.

None of the simulators are listed in the window, when I try to 'Add a new simulator' (I remember deleting them initially, some time before, but I have reinstalled xcode after cleaning everything multiple times) It gives an Error saying unknown runtime to whatever I select. OS version select box does not show any option and it is only 'download more simulator runtimes'

Error

Downloaded runtimes from components tab in settings as shown in screenshot, I can see the run time in (External Drive - symlink) /Library/Developer/CoreSimulator/Profiles/Runtimes

Runtimes

Tried restarting, reinstalling and these Xcode 10 simulator runtime is not available: runtime profile not found error

The iOS 13.0 simulator runtime is not available

iOS simulator is not launching

Edit 1:

xcrun swift --version

Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) Target: x86_64-apple-darwin20.2.0

xcode-select -p

/Applications/Xcode.app/Contents/Developer

sudo xcrun simctl list

CoreSimulatorService connection interrupted. Resubscribing to notifications.

3960278
  • 756
  • 4
  • 12
  • "I have symlink /Library/Developer to external drive" I would suggest don't do that. – matt Feb 01 '21 at 21:14
  • the folder takes 15gb space and unfortunately i don't have that much space, thats an SSD and everything else, CommandLineTools, seems to work just fine . – 3960278 Feb 01 '21 at 21:17
  • Command Line Tools is not evidence for anything. It just puts stuff into `/usr` and does not link back to Xcode. How about `xcrun swift --version`? Does that work? Also what does `xcode-select -p` say? Just curious. – matt Feb 01 '21 at 22:08
  • edited question with output of these ... someone's old answer says symlinks works after xcode 11 in apple developer community ... will have to search again – 3960278 Feb 01 '21 at 22:19
  • Definitely the problem sounds like Xcode is not seeing the simulators. I can't guarantee that the symlinking works; it's lucky that it did, but now maybe it just doesn't. I recommend using DaisyDisk or similar to find something else large that you can remove from your hard disk and thus allow enough room to let these folders back on to the hard disk. – matt Feb 01 '21 at 22:27
  • thanks @matt i will try what best i can do ... as runtimes are needed CoreSimulator directory takes hell lot of space ... xcode app itself takes 20gb ... i wish it would hav worked – 3960278 Feb 01 '21 at 22:40
  • Hi @matt please help in https://stackoverflow.com/questions/66008873/failed-to-initialize-simulator-device-set – 3960278 Feb 02 '21 at 11:36

0 Answers0