dimanche 2 octobre 2016

No such module `Quick` using cocoapods

I've been learning swift for three days. I'm planning to build my skill in swift especially in iOS development. I just advised by my colleague who is an iOS developer to learn swift while writing test in our app -- this is for the benefit to the company and myself which it makes sense for me. Now, I'm trying to follow this tutorial http://ift.tt/2aGyib4

After following the tutorial to rewrite the test in a framework called Quick which is very similar with Rspec. I did the installation of the CocoaPod then follow the install of the Quick framework. Use the .xcworkspaces instead of the .xcodeproj. But still I'm getting the error of No such module 'Quick'.

I did research already and removing the pods but still getting the error. I'm stuck almost 5 hours already trying to make it work. Anyone here familiar with this error.

platform :ios, '9.2'

target 'FizzBuzz' do
  use_frameworks!

  def test_pods
    pod 'Quick', '~> 0.9.0'
    pod 'Nimble', '~> 3.2.0'
  end

  target 'FizzBuzzTests' do
    inherit! :search_paths
  end

  target 'FizzBuzzUITests' do
    inherit! :search_paths
  end

end

screenshot of the project folder

Aucun commentaire:

Enregistrer un commentaire