In Xcode Coding Assistant (Xcode 26.4.1), how can I make the @fileName feature work for previous projects as well? (error: The application can't be opened. -50)

In Xcode (26.4.1), when using Coding Assistant, in new project, one can reference files by @fileName, but it does not work for projects that have been created e.g. 8 months ago.

How can I make the @fileName feature work for previous projects as well?

Project it fails with (@ does not show any files from the Project Navigator, and when e.g. manually referencing the @fileName and then clicking on the file in the Coding Assistant chat, macOS shows):

Project it works with (FriendsFavoriteMovies project from this tutorial: Navigate sample data | Apple Developer Documentation)

I'd be very happy to know a solution to my question:

How can I make the @fileName feature work for previous projects as well?

Thank you very much,
Tim :)

In Xcode Coding Assistant (Xcode 26.4.1), how can I make the @fileName feature work for previous projects as well? (error: The application can't be opened. -50)
 
 
Q