Comment on Xcode 14 can't find local package's product OK, turns out all I had to do was open the XCode app, and enter my password, then the command-line tools worked. Developer Tools & Services Xcode Sep ’22