• 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
Problem linking QuickLook plugin with app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem linking QuickLook plugin with app


  • Subject: Problem linking QuickLook plugin with app
  • From: Donald Ness <email@hidden>
  • Date: Wed, 05 Oct 2011 01:29:16 -0500

Hello,

I'm having some trouble linking my document-based application with a QuickLook plugin.

I can compile the plugin OK. And I can run it if I remove all references to my NSDocument (and just render a red square as the quicklook for example) -- I can see it render in the qlmanage tool.

However, once I reference my NSDocument subclass, I receive this error:

[ERROR] Can't load plug-in at /Users/donald/Development/MyApp/build/Debug/MyAppQuickLook.qlgenerator: The bundle “MyAppQuickLook” couldn’t be loaded.

Which leads me to believe I have a linking error.

Here's how I set up my project on Xcode 4:

- Added a QuickLook plug-in target to my main project called MyAppQuickLook
- Set MyApp as a target dependency for MyAppQuickLook
- In build settings under Linking for MyAppQuickLook, I set "Bundle Loader" to: $(BUILT_PRODUCTS_DIR)/MyApp.app/Contents/MacOS/MyApp

How do I investigate and fix this? The error message doesn't help much, and I'm stuck. Any help would be greatly appreciated.

Thanks,

Donald
 _______________________________________________
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: Problem linking QuickLook plugin with app
      • From: Lee Ann Rucker <email@hidden>
    • Re: Problem linking QuickLook plugin with app
      • From: Christiaan Hofman <email@hidden>
  • Prev by Date: Re: iPad Simulator Intermittent Crash When Accessing Settings
  • Next by Date: Re: iPad Simulator Intermittent Crash When Accessing Settings
  • Previous by thread: Re: iPad Simulator Intermittent Crash When Accessing Settings
  • Next by thread: Re: Problem linking QuickLook plugin with app
  • Index(es):
    • Date
    • Thread