Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Weird Strings for iOS version in Xcode simulator list

Tags:

As you can see in the screenshot, I am getting this weird string for some simulators. How can I fix this?

enter image description here

like image 884
Kashif Avatar asked Jun 27 '15 19:06

Kashif


2 Answers

It happened to me,when there were both Xcode7-beta and Xcode6 in my Mac. As you see,UDID-like strings are UDIDs (Unique Device IDentification numbers) for the iOS Simulator devices. As they are duplicated devices with unique UDIDs,to there are two ways to solve this problem,:

  1. I suspect the issue will go away if you restart the service: Quit Xcode, Instruments, and the iOS Simulator and then run this in Terminal.app:

    sudo killall -9 Xcode 'iOS Simulator' com.apple.CoreSimulator.CoreSimulatorService 

    Then

    rm -rf ~/Library/Developer/CoreSimulator/Devices 
  2. Just change and rename your simulators: In xCode go to Window -> Devices and press the plus in the bottom corner and add the simulators that you wish or minus to remove.

enter image description here

Then it'll be ok: enter image description here

like image 192
ChenYilong Avatar answered Oct 08 '22 02:10

ChenYilong


Thanks to @stevechen for pointing me in the right direction, I finally solved this problem :

  1. Xcode Menu > Open Developer Tools > Open iOS Simulator
  2. iOS Simulator Menu > Hardware > Device > Manage Devices
  3. Delete all the bad entries
  4. Add then back

Enjoy!

like image 37
Kashif Avatar answered Oct 08 '22 03:10

Kashif