Required content for platform tv OS simulator is missing.Re-install Xcode

I once deleted the xcode and restored it from the trash.Now the above error is being displayed and I am unable to open Xcode now.

Go to the Mac App Store, check your purchases and re-install from there.

Required content for platform tv OS simulator is missing.Re-install Xcode
 
 
Q