Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install projects without cocoa pods?

I have seen various libraries on GitHub that look useful, but only list CocoaPods as an install method. I'm not sure I want to be dependent on CocoaPods, because I'm wary of Apple breaking it in some future OS X/Xcode update. Is there a way to get these libraries into my Xcode project without using CocoaPods?

like image 481
PopKernel Avatar asked Jan 24 '15 23:01

PopKernel


People also ask

How do I create a Podfile lock?

Podfile. lock is used to make sure that every members of the team has the same versions of pods installed on the project. This file is generated after you run the command: pod install. It gets updated when you run pod install or pod update.

How do I remove a pod and install it?

Just rm -rf that pod's folder, and remove the line from the Podfile. Then run pod install again.


1 Answers

Of course there is. Basically you need to download the library project, drag the project into your own project, do some library dependency setup and you're done.

For details, check out https://github.com/Alamofire/Alamofire for manually adding a Swift library. And https://github.com/jverkoey/ObjQREncoder for manually adding a Objective-C library to your project.

like image 73
skyline75489 Avatar answered Oct 06 '22 01:10

skyline75489