This works for me, but need a little more action. After restart, go to System Preferences --> Security & Privacy, there will be a "allow" tip, click and restart, problem solved.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: