Why Do We Need CocoaPods?

mainLinker errors are painful to deal with. When we are working on our Xcode projects and when we almost done with everything, these linker errors pop up to make their point! Even if we can see the libraries right there in the GUI, it still can’t find that library. Sounds familiar? Why do we have to set linker flags in more places? Wouldn’t it be easier if you could just start developing your project without having to worry about these things? Say hello to CocoaPods! CocoaPods is a library dependency manager for Objective-C projects that solves all these issues. CocoaPods is a ruby gem that downloads all the third party libraries you want for your project, and links everything so that you don’t have to.   Continue reading “Why Do We Need CocoaPods?”

Those Mysterious Linker Errors

linker errorIf you have been coding long enough, then the linker errors are probably the ones you ended up hating the most! Once you’ve finally designed the program logic, cleaned up all those frustrating syntax errors, and prepared yourself to see the output, you may still need to deal with linker errors. The linker errors are particularly frustrating because they are not necessarily related to anything you have written in your program. What exactly are these linker errors anyway? How do we fix them?   Continue reading “Those Mysterious Linker Errors”