• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to debug and test a quick look generator?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to debug and test a quick look generator?
      • From: John Brownie <email@hidden>
References: 
 >How to debug and test a quick look generator? (From: John Brownie <email@hidden>)

  • Prev by Date: Re: How to debug and test a quick look generator?
  • Next by Date: Re: How to debug and test a quick look generator?
  • Previous by thread: Re: How to debug and test a quick look generator?
  • Next by thread: Re: How to debug and test a quick look generator?
  • Index(es):
    • Date
    • Thread