Xcode does not detect the actual iOS device it is connected with via the cable. The problem can be resolved by running the Workarounds in Case the Connection to the iOS Real Device Does Not Work Correctly procedure for the currently connected real device.