I think this error starts after updating skim to the latest version.
Document 'PDFfile.pdf' not open in application LSOpenURLsWithRole() failed for the application /private/var/folders/O9/O9WzNPBfEsCRnERR4J07f++++TI/-Tmp-/Skim 62 Update/B121659D-D5E2-4EF3-A582-A94789DEE5D6/Skim.app with error -10810 for the file PDFfile.pdf. sh: /private/var/folders/O9/O9WzNPBfEsCRnERR4J07f++++TI/-Tmp-/Skim 62 Update/B121659D-D5E2-4EF3-A582-A94789DEE5D6/Skim.app/Contents/SharedSupport/displayline: No such file or directory error number 256 opening viewer
It seems the link to the Skim.app is wrong. The Application is installed at /Applications/Skim.app and the displayline file exists at the path under the app.
I have not created anything in my setup, which has worked great for some years.
How can I change the path to Skim?