Dmitry
Dmitry

Reputation: 14632

Add external library as a target dependency and link to external library

I'm trying to add external project as library to my project.

  • Add extLib as a target dependency and link to extLib.a

How to do that?

Upvotes: 0

Views: 107

Answers (1)

Jordan Montel
Jordan Montel

Reputation: 8247

Following the image below, go to :

Target > Build Phases > Target Dependencies and add extLib

Target > Build Phases > Link Binary With Libraries and add extLib.a

You need to drag and drop the classes for extLib on your project before.

enter image description here

Upvotes: 1

Related Questions