Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode : Adding a project as a build dependency

Im playing around with the soundcloud api, in its instructions it says to

  • drag SoundCloudAPI.xcodeproj into your project
  • add it as a build dependency

I can drag the project in pretty easily, but how does one accomplish the next step?

like image 713
Aran Mulholland Avatar asked Nov 18 '10 20:11

Aran Mulholland


1 Answers

To add it as a dependency do the following:

  • Highlight the added project in your file explorer within xcode. In the directory browser window to the right it should show a file with a .a extension. There is a checkbox under the target column (target icon), check it.
  • Right-Click on your Target (under the targets item in the file explorer) and choose Get Info
  • On the general tab is a Direct Dependencies section. Hit the plus button
  • Choose the project and click Add Target
like image 58
theChrisKent Avatar answered Oct 23 '22 11:10

theChrisKent