Re: adding spolight importer targets
Re: adding spolight importer targets
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