Missing required module Firebase - Jenkins build error

After an extensive research, I finally found a solution for this problem. The second modification I did in the Runpath Search Paths is I believe actually solved this problem. Below are the things I did/modified.

1.I moved pod 'Firebase' to my test target in the pod file as shown below.:

 target 'MyAppTests' do
    inherit! :search_paths
    pod 'Firebase'
end

2.configureRunpath Search Paths to point to $(FRAMEWORK_SEARCH_PATHS)

3.In addition to all the above, I uninstalled my old cocoapod(1.0.2) and installed latest version (1.1.1), removed Firebase, reinstalled it.. Then pod install and pod updated in terminal.