I am getting this error on two different Macs (iMac and Mac Book pro). No idea why people can\'t reproduce it but I need some help.
Wait for reindexing files
Open the LaunchScreen.storyboard
in text mode and look for any anomaly.
You can also remove it and create a new one as you only have the default UIViewController
inside.
Go to your Target/General and fix the Deployment target. I hope that this helps
This worked for me on El Capitan.
Go to
/Library/Developer/CoreSimulator/Profiles/Runtimes
and remove the profiles in there. Restart Xcode and it should work!
For Yosemite users try the following:
cd Library
cd Developer
cd Devices
rm -rf *
Also, you can always type ls to list the files and directories. There may be another folder such as Profiles on your machine. Not sure since I only did this on my Yosemite machine that wasn't having issues.
Restart Xcode, clean, build etc.
Use sudo if there are any permission issues.