CocoaLumberjack Integration in iOS Project Using Drag-and-Drop

I am trying to integrate CocoaLumberjack into my iOS project by dragging and dropping the Lumberjack.Xcode file into my project. This works great, but now my project has 9 new goals. I do not need all this overhead. So my question is: how to reduce the number of goals to the right material for iOS?

It seems that every time I drag and drop only a mobile project, it does not have the necessary files. According to my research, it seems that there are no modern tutorials related to Lumberjack integration specifically for iOS, which seems like a tool that is commonly used, so it's odd. Being new to all of this is troublesome and I would like to help.

Other information: I am doing a manual installation, since Cocoapods is not an option for me. I follow their Installation Guide: Installation Guide

The very first line in the manual

git submodule add git@github.com :CocoaLumberjack/CocoaLumberjack.git 

I don’t want to add another submodule to my project, so I drag and drop Lumberjack.Xcode into my project.

+5
source share
3 answers

Before I learned how to use CocoaPods, I just cloned the repo and copied all the .h and .m files into my project, ensuring that they were added to the right target.

The only problem you should avoid is not one or more files. Not 100% sure of CocoaLumberjack, but I would look just adding everything from here:

https://github.com/CocoaLumberjack/CocoaLumberjack/tree/master/Classes

+2
source

Instead of adding it as a submodule, you can just clone the repo and add it to your project. The rest of the instructions remain unchanged. So replace the line above:

 git clone git@github.com :CocoaLumberjack/CocoaLumberjack.git rm -r CocoaLumberjack/.git/ 

Then follow the instructions in the installation guide.

+2
source

All Articles