Install Swifter framework to Xcode

2019-09-14 19:25发布

问题:

I'm trying to install Swifter framework to Xcode that provided by github here: https://github.com/mattdonnelly/Swifter

but the installation is not clear enough, there is no folder had the extenssion .framework with header folder inside it can someone please help me how to get this framework to my project

thank you

回答1:

First of all you should clone the repo. After that drag and drop Swifter.xcodeproj to your project. Lastly add SwifteriOS.framework to linked frameworks and libraries of your project.



回答2:

IF you are using Cocoapods, add the following line to your Podfile.

pod 'Swifter', :git => 'https://github.com/mattdonnelly/Swifter.git'

Run pod install then you should be set.



标签: xcode swift