NOVA99 NOVA99 - 1 year ago 108
Swift Question

implement third-party framework swift 2

How could I install a third party framework (in my case PhoneNumberKit) in my project? I tried CocoaPods and Carthage but they both don't work.

I use Xcode 7 and Swift 2.2


Is there a way to install a framework without tools like cocoapods or carthage?

Answer Source

Try like this, i think it work!


target 'nameOfYourProject' do

    platform :ios, '9.0'

    pod 'PhoneNumberKit', :git => ''