Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Target dependencies is used if your static library is created by another <em>XCode</em> project and you want to include this project, so that you can easily develop on both you library and the corresponding application.</p> <p>If you want to include a foreign library you would select your target under <strong>TARGETS</strong> there you select the section <strong>Build Phases</strong> there you have the area <strong>Link Binary With Libraries</strong> into this area you would add your library either with <em>drag &amp; drop</em> or with the <kbd>+</kbd> sign.</p> <p>To add the include path you select your project under <strong>PROJECT</strong> there you select the area <strong>Build Settings</strong> there you have under <em>Search Path</em> the Points <strong>Header Search Paths</strong> this should include the path to the directory where the header is.</p> <p>The difference between the settings in <em>Project</em> or <em>Targets</em> is that in <em>Project</em> it sets the default settings for all targets. In <em>Targets</em> you can change the settings per <em>Target</em>.</p> <p><strong>EDIT</strong> For the linking errors this two answers could be helpful:</p> <ul> <li><a href="https://stackoverflow.com/questions/14458390/static-library-in-xcode-4">static Library in Xcode 4</a></li> <li><a href="https://stackoverflow.com/questions/10803211/file-was-built-for-archive-which-is-not-the-architecture-being-linked-i386">file was built for archive which is not the architecture being linked (i386)</a></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload