Having the same problem in Xcode 16.3, but I'm pretty sure I've figured out the problem.
If there are any relative paths in your linker flags, make sure they start with $(SRCROOT)/ I'm betting that the linker, as being run in Preview, does not have the same current directory as when running for building. Any relative paths will be rooted from that other spot and files will not be found.
So if you've got any of these: "/..", be sure to prefix them with "$(SRCROOT)/"
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: