Every time i am opening Xcode 7.3.1. I am getting error in pop-up "The last time you opened Xcode, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?" and whatever option you select, Xcode automatically crash and closed and on reopening it again showing the same message every time. This could be possible duplicate question but i am not able to find out the solution. What i have tried
- Delete and reinstall Xcode 7.3.1 again
- Delete and install another version Xcode 7.2
- Update the OS form El capitan to OS sierra
- Deleted the Xcuserdata form .xcodeproj as mention here https://stackoverflow.com/a/13600567/3647325
- Deleted the Drived data from
/Library/Developer/Xcode/DerivedData/
- Deleted Xcode's preferences
defaults delete com.apple.dt.Xcode