Reputation: 505
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
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