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
Convert String to Cgfloat in Swift
Swift How to Cast from Int? to String
Uitableviewrowaction with Icon and Text
Swift Tableview Cell Set Accessory Type
Differencein Approach to Create Dispatchqueue Swift3
Get an Error When Trying to Get All the Photos from Phassetcollection.Fetchassetcollections
How to Define an Enum as a Subset of Another Enum's Cases
Trying to Use Keychainitemwrapper by Apple "Translated" to Swift
Cut a Circle Out of a Uiview Using Mask
Why Is the ! in Swift Called an 'Implicitly' Rather Than 'Explicitly' Unwrapped Optional
Swift - Initialize View Controller from Storyboard by Overriding Init
Swift, Nsjsonserialization and Nserror
Xcode 8 Swift Update with Error "Use Legacy Swift Language Version"
Understanding @Binding in Swiftui
How to Cancel Alamofire.Upload