On Mar 11, 2015, at 00:19:26, John Brownie <[email protected]> wrote:
> 
> The Quick Look Programming Guide is somewhat out of date, last updated 
> December 2013. The big issue I have is the section on debugging and testing a 
> quick look generator.
> 
> The guide says, "Choose New Custom Executable from the Project menu." In 
> Xcode 6.1.1, there is no Project menu, nor anywhere I can see to choose "New 
> Custom Executable". What do you do in Xcode 6?

Product->Scheme->Edit Scheme for your QL generator target. In that window, set 
the executable in the Info tab to qlmanage and set any arguments in the 
Arguments tab, e.g.:

-p -c com.theutiforyourquicklookgenerator.whatever -g 
${TARGET_BUILD_DIR}/Your.qlgenerator '${SRCROOT}/../path/to/some/test.file'

Which will test the preview for the file. See 'man qlmanage' for more info.

--
Steve Mills
Drummer, Mac geek


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to