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'
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
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-1200045 clang-1200032.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.
1 Answer 1
Here it worked for me:
Step 1 : Go to Windows -> Device and Simulators
Step 2 : Click on Simulator Tab and click the add button at the bottom
Step 3 : Add new Simulator. Select the Device Type, Select OS version as Download more simulators. Click Create.
Step 4 : Install at least one iOS version from all the series.
Step 5 : Once Installed. You Still won't be able to see it.
Step 6 : After all this Restart your Mac.
Step 7 : Open Xcode. You Should see the installed Simulators now.
Happy Coding.. :)
/usr
and does not link back to Xcode. How aboutxcrun swift --version
? Does that work? Also what doesxcode-select -p
say? Just curious.