Unable to build my first app and view it on my iPhone 7 Plus

I am a new learner and trying to build my first app is I learned from "Develop in Swift Fundamentals with Xcode 11. I have installed Xcode 11.5 on MacBook Pro (mid-2012), running macOS 10.15.7. I tried to build first app "GettingStarted" that builds successfully but shows the error message as below. "FailedToConnectToDTServiceHubError: Cannot connect to Dr. Farooq Try disconnecting and reconnecting the device. Dr. Farooq"

I tried with Xcode 11.7 first but got the same message, then I installed Xcode 11.5, but still I am getting the same error. Can someone help me on this issue, although small for the experts.

Does it run on simulator ?

When you connect the iPhone with UISB and open the Window > Devices and simulators, do you see the iPhone in Device list ?

What is iOS version on device ?

You can try to reboot both Mac and iPhone.

Hi, Claude31, Thank you very much. I finally discovered that my iPhone is running iOS 15, which is not compatible with Xcode 11. Thanks again for your help.

Unable to build my first app and view it on my iPhone 7 Plus
 
 
Q