1
votes

We are using CocoaLumberjack library for logging. In our project we have written various static libraries. Now problem is we want to use logging in almost every library, including main application.

In each library we need to add Lumberjack library (we have added files and make it .a). I am not able to understand how to avoid to import lib in every project.

If I use .a in one of the library, shouldn't it already resolved dependancy for main application and other libs as well?

1

1 Answers

1
votes

If I understand you correctly, you have to grab Lumberjack library to the project just once and then add it to targets in inspector. enter image description here