it seems that xcode 16.2 this solution "Adding both the file path you are editing and an entry for $DERIVED_FILE_DIR into your output files for the matching file path will fix this issue" no longer works, I've temporarily reverted to setting "User Script Sandboxing" to "No". In build settings.