Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 6.4 showing duplicate 'Simulators' with Unique Id

Till yesterday, everything was normal with Xcode. It was showing simulators as :

enter image description here

But today, when I opened it, simulator list changed to :

enter image description here

Every simulator can be seen twice, name followed by a unique id. I have also observed that same named Simulator are also two different instances.

Can anyone help me, how to get rid of this ? Or how to reset it. It gives a weird look.

Any suggestion will be helpful.

like image 565
itsji10dra Avatar asked Jul 08 '15 06:07

itsji10dra


People also ask

Where can I find UDID of simulator?

Open your simulator, choose Hardware - devices - manage devices. You will find the identifier in device information.

How do I select a simulated device in Xcode?

Open Xcode and click Menu > Xcode > Preferences > Select Components, and then choose the simulator version you want to download.


1 Answers

Solution from sunnyxx's weibo:

1.quit Xcode and iOS Simulator

2.killall -9 com.apple.CoreSimulator.CoreSimulatorService

3.rm -rf ~/Library/Developer/CoreSimulator/Devices

4.reopen Xcode

Edit: sudo seems unnecessary to kill SimulatorService.This solution will remove all exist simulator and recreate all available version and type simulators.

like image 132
NSDeveloper Avatar answered Oct 03 '22 19:10

NSDeveloper