• 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: setting up project with App and quicklook and spotlight plug-ins
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting up project with App and quicklook and spotlight plug-ins


  • Subject: Re: setting up project with App and quicklook and spotlight plug-ins
  • From: Andrew Keller <email@hidden>
  • Date: Sat, 01 Mar 2014 15:56:27 -0500

On Mar 1, 2014, at 9:54 AM, Kurt Sutter <email@hidden> wrote:

> Dear all
>
> We presently have three separate Xcode 5 projects for building:
> 1. a MacOS application
> 2. a Quicklook plug-in and
> 3. a Metadata importer.
> These projects are completely independent from each other. The build products of the plug-in and the importer projects are explicitly copied into the bundle of the application in one of the build-phases of the application project.
>
> I would like to integrate all three project into a single Xcode project or workspace in order to make sure that, when we build our app, the plug-in and the importer are rebuilt automatically before they are being inserted into the application.
>
> What is the recommended way to do this? Should I place all three projects into a single workspace, or should I place the plug-in and importer projects as sub-projects into the application project? And how can I make Xcode copy the importer and plug-in into the Contents/Libraries folder of the application?
>
> I guess that these are trivial questions for someone in the know, but I have browsed documentation for hours to no avail. Any advice is therefore highly appreciated.

You don't need a single Xcode project.

Drag and drop the Xcode projects for projects 2 and 3 into the IDE for project 1.  Doesn't matter where.  Then, in the build steps for project 1, add dependencies against the build products of projects 2 and 3.

If you use this approach, in you CopyFiles stage, you can also explicitly select the built product for projects 2 and 3 without actually needing to know the paths in which they were saved.

 - Andrew


 _______________________________________________
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


References: 
 >setting up project with App and quicklook and spotlight plug-ins (From: Kurt Sutter <email@hidden>)

  • Prev by Date: setting up project with App and quicklook and spotlight plug-ins
  • Next by Date: Overriding a default library header path
  • Previous by thread: setting up project with App and quicklook and spotlight plug-ins
  • Next by thread: Overriding a default library header path
  • Index(es):
    • Date
    • Thread