Xcode Error: Missing Required Module 'Firebase'

Missing required module 'Firebase' for Unit test

target 'GRCReportsTests' do
inherit! :search_paths
pod 'Firebase/Messaging'
end

This solved my issue

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.

Importing Framework that uses Firebase in Swift Playground ( Missing required module 'Firebase' )

I was eventually able to fix this by converting FooFramework into a local CocoaPod and importing the CocoaPod into the playground.

No such a module 'Firebase' in Tests.swift file after Converting to swift 3

The issue is you are using the mentioned Cocoapods for TheTestingApp only you also need to add these or the Cocoapods you wanna use for the TheTestingAppTest

Also Clean your project : - CMD+SHIFT+K, Then run pod install & then run your app.

Something like this:-

use_frameworks!

target 'TheTestingApp' do

pod 'Firebase'
pod 'Firebase/Auth'
pod 'Firebase/Database'
pod 'Firebase/Storage'

end

target 'TheTestingAppTests' do

pod 'Firebase'
pod 'Firebase/Auth'
pod 'Firebase/Database'
pod 'Firebase/Storage'

end


Related Topics



Leave a reply



Submit