How to fix missing module in unit-test file?

Viewed 2463

So I'm very new with unit test in Swift. In my project I'm using a couple of frameworks installed in my cocoa pods, but when I was about to write some code in my test file, I always get this error. missing module: Firebase, Eureka, ImageRow

enter image description here

I tried to import these modules above the @testable, but somehow it didn't recognize the module. it keeps on saying module not found. I've also tried to remove my pods inside the inherit search paths, and it still on asking that I need to import these module. Here's my cocoa pod.

target 'ProjectRed' do

  use_frameworks!
  pod 'Firebase'
  pod 'Eureka'
  pod 'ImageRow'
  pod ‘Firebase/Database’
  pod ‘Firebase/Storage’

  # Pods for ProjectRed

  target 'ProjectRedTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'ProjectRedUITests' do
    inherit! :search_paths
    # Pods for testing
  end

end
2 Answers
Related