• 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: adding spolight importer targets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding spolight importer targets


  • Subject: Re: adding spolight importer targets
  • From: "email@hidden" <email@hidden>
  • Date: Sun, 7 Nov 2010 10:45:04 +0000


On 6 Nov 2010, at 22:05, Rainer Standke wrote:

> Hello,
>
> I saw that in the sample app "DepartmentAndEmployees" there is a target that builds the application, and another target that builds the corresponding spotlight importer. I have a core data application that could use a spolight importer, and I am wondering about how to add one to the existing project. So far I am clueless, and would be grateful for any pertinent pointers.
>
> I am aware of the template that lets one create a spotlight importer project, but it's not available for targets.
>
> Thanks,
>

Simply create a new project for your QL plugin and configure it as normal.
Then add this project as a sub project (technically it's a cross project reference) of your main project (menu Project - Add to project..).
You should see your sub project listed in your project outline.

Now make your main project dependent on the visible build product (your QL plugin) of your subproject.
This ensures your main project builds when the sub project gets modified.

Now add a copy files stage to your main project and copy your QL plugin to Contents/Library/Quicklook

see Referencing Other Projects in http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/XcodeProjectManagement/130-Files_in_Projects/project_files.html

Regards

Jonathan Mitchell

Developer
Mugginsoft LLP
http://www.mugginsoft.com


 _______________________________________________
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: adding spolight importer targets
      • From: Rainer Standke <email@hidden>
References: 
 >adding spolight importer targets (From: Rainer Standke <email@hidden>)

  • Prev by Date: Re: "ibtool … error … loading plug-in … Try reinstalling the bundle." How?
  • Next by Date: Xcode Compiling Against the Wrong SDK
  • Previous by thread: adding spolight importer targets
  • Next by thread: Re: adding spolight importer targets
  • Index(es):
    • Date
    • Thread