Chanikya Mandapati
Chanikya Mandapati

Reputation: 41

No such module with cocoapods swift

I am having problem with importing frameworks using cocoapods. My pod file looks like this:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'

use_frameworks!

target 'AppDemo' do
    pod 'AKPickerView-Swift'
    pod 'PickerView'
    pod 'Scale'
end

I am using Swift 2.2 and Xcode 7+

Upvotes: 0

Views: 610

Answers (2)

Chanikya Mandapati
Chanikya Mandapati

Reputation: 41

Problem solved after creating new schema in xcode. Goto Xcode -> Product -> Schema. I still don't understand why problem appeared initially. I faced this problem in .xworkspace. Cleaned project couple of times but it didn't help.

Upvotes: 0

Dan Leonard
Dan Leonard

Reputation: 3395

Close your Project and open the new YourProject.workspace that was created after you run pod install in your projects root directory in terminal.

Upvotes: 2

Related Questions