Actually, this did not worked for me, so I've restarted Mac with devices plugged in, after launching, launched Xcode and worked well. So If my solution above does not work, try restarting Mac with devices plugged in
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: