Eric Chong
Eric Chong

Reputation: 505

swift3 country and phone code Picker

I am using Xcode Version 8.3.3, trying to use country pickerview from https://github.com/4taras4/CountryCode. I manually just drag and drop CountryPicker folder to my xcode project. However, i got error when import CountryPicker (error is "No such module 'CountryPicker'") Is anyone can help to solve it and teach me how to start using it?

import UIKit
import MessageUI
import CountryPicker

class ViewController: UIViewController, , CountryPickerDelegate {

Upvotes: 0

Views: 1499

Answers (1)

Enea Dume
Enea Dume

Reputation: 3232

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!


target 'YourTArgetNAme' do
  pod 'CountryPickerSwift', '1.4.4'
end

try installing it as a pod

Upvotes: 1

Related Questions