I encountered the same issue. Working solution for me was go to (on iPhone) : Settings > Developer > Clear Trusted Computers
After clearing trusted computers and reconnecting iPhone to Xcode, it works correctly.
Topic:
Programming Languages
SubTopic:
Swift
Tags: