trishume / QLTool

Command line tool for generating quicklook previews
5 stars 2 forks source link

*** +[NSString stringWithCString:encoding:]: NULL cString #2

Open cylott opened 5 years ago

cylott commented 5 years ago

Do you have a binary for this? I tried to build on 10.13.6 but everything I try generates the above error. Thanks!

cylott commented 5 years ago

Ok, I was able to build by selecting "Perform Recommended Changes" in xCode. Now I am able to use the command line tool, but it does not perform as expected. No matter what file I use for input, all that happens is the QLTool app launches and displays a QuickLook window for that file. It does not generate icons, either with "dp/di" or "tp/ti" in iTerm. Icon generation would be invaluable to me for a project I'm working on, so any help is much appreciated!

trishume commented 5 years ago

Unfortunately I forgot I ever even made this project until I saw this Github notification, I remember nothing about how it works. Also my XCode is broken right now and I can't use its debugger. I suggest using the XCode debugger to step through the code and see what is going wrong, you can edit the command line arguments the debugger uses in some running preference somewhere in XCode.

cylott commented 5 years ago

Actually, it turns out I had a mistake in my syntax. Seems the CLI tool will just revert to "p" in this case. I'm very happy to report things are working well. The only issue I'm seeing is that icons aren't "retina." If I request a 512 x 512 icon on a retina system, I get a 1024 x 1024 icon with pixels doubled.