2

I have the following pod file, which works fine for my normal code but as soon as I want to import a pod from the test target in one of my tests it says No such module. I have tried building for testing, building for normal, I literally tried everything that came up in my mind without luck. What am I doing wrong here?

target 'MyApp' do
  use_frameworks!

  pod 'RxSwift'

  target 'MyAppTests' do
    inherit! :search_paths
    # Pods for testing
    pod 'RxTest'
    pod 'RxBlocking'
  end
end

I use CocoaPods 1.2.1

Reshad
  • 2,570
  • 8
  • 45
  • 86

1 Answers1

0

I found this post helpful. By making sure I had the same path values and user defined variables in both targets, I was able to get passed this error.

Ben Jasperson
  • 300
  • 4
  • 17