Using iOS8 and later devices with Xcode?
Up to iOS 12.1 is available
You can download DeveloperDiskImage.dmg here or here
Steps:
1.Download Zip file and extract.
2.Click on "Finder" in MAC OS
3.Click on "Go to Folder"
4.Paste /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport . Otherwise go to Applications > Right Click on Xcode > Show Package Contents and follow the directories above.
5.Reboot Device + Xcode + Mac