Missing required module Firebase - Jenkins build error

I have configured jenkins for building my ios-swift application. i have used
xcode version 8.1 and swift version 3. I am new to Jenkins and continues integration process. Based on my console output, i think build is successful. bacause console output print like this

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 installed and pod updated in terminal.