iPhone 14 Pro Max not connecting to Xcode 14.2

"Xcode will continue when iPhone (3) is connected and unlocked."

Solved.