I ran into this problem when reusing a Bundle Identifier in a new project. The above information helped me solve it, but cleaning out everything in com.apple.sharedfilelist/ seem a bit overkill as it would remove recent files from all applications.
You could try using finder to delete just the file associated with your app. Either browse your way there, or run the following in a terminal:
open ~/Library/Application\ Support/com.apple.sharedfilelist/
Locate the file named with your Bundle Identifier (e.g. org.you.AppName.sfl2) and trash it.
Then run
killall sharedfilelistd