Friday, January 15, 2016

Swift XCode CocoaPods Add and then remove

Hello,
Its been a while but I was abducted by the secret team of an extraterrestrial species and we were migrating their code to Jdeveloper.
You wouldn't believe the alien spaghetti code I have seen...

So, this is a quick post with a couple of links that might help you with CocoaPods and your XCode project.

What is CocoaPods? Well, lets say that it is something like Maven for JAVA for dependences.

https://cocoapods.org
(quote from the website)
CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. It has over ten thousand libraries and can help you scale your projects elegantly. Interested in the news about Swift Package Manager? Check our FAQ

Actually this is pretty handy considering that a dependency manager is actually required given the many libs out there.
So guys keep up the good work!

Now, if you want to remove CocoaPods from your project, well, it is not an easy task as one might expect..

First read this:
http://stackoverflow.com/questions/16427421/how-to-remove-cocoapods-from-a-project
As you can see there are a few steps to be done in order to make sure that you have removed everything..

Then, go there and give it a try. As the readme says... make a back up of your project..
https://github.com/CocoaPods/cocoapods-deintegrate


All right. I have to go back now.
And remember, the idea is to code less, simple and above all clear and understandable magic.

cheerzz

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...