I have created a LaTeX document on Sublime Text. It also generates the PDF. However, when I try opening it on Skim, it produces an error stating the PDF cannot be opened. I then try to open it on TexStudio and Overleaf, I am still unable to access the PDF. I am using a MacBook Pro 2017 13". My OS is Mojave 10.14.6. I have tried to download the TeX distribution again, to no avail. I do not know where the issue lies.
An help with this would be highly appreciated.