Re: How to debug and test a quick look generator?
Re: How to debug and test a quick look generator?
- Subject: Re: How to debug and test a quick look generator?
- From: Steve Mills <email@hidden>
- Date: Wed, 11 Mar 2015 02:04:13 -0500
On Mar 11, 2015, at 00:19:26, John Brownie <email@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden