Lawrence - thanks for posting the problem. Think I've got the same issue.
Tried to "Share" a photo from the iPhone to the computer but after pressing the little box with the up-arrow it turns faded and won't work.
Attached is a screen shot of the message on the phone that refers to iOS 17.2.1. (taken using the 'old iPhone', that still works, of the newer iPhone that has a problem).
Wasn't really paying attention when the message showed up... here is hardly ever a problem....HOWEVER, it appeared the phone was updated, but then again, maybe not. Based on the problem, probably not.