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.
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
Error: Could not build Objective-C module 'Firebase'
There is only one way to solve this issue.
- Quit Xcode.
- Delete project's temp files located at
~/Library/Developer/Xcode/DerivedData
- Delete
ProjectName.xcworkspace
- Delete
Podfile.lock
file andPods
folder - Run
pod install
. - Open the newly created
ProjectName.xcworkspace
file and build.
started.FATAL: Log statements out of sync: current test suite 'TestTarget.xctest' not exists
I had the same issue today, apparently it was because I had spaces in the product name of my test target. I changed them by '-' and now it seems working. Let me know if it was the same for you.
Xcode Archive failed with flutter plugins
Downgrading Xcode from 13.3 to 13.2.1 solved my problems.
Invalid bitcode version on Jenkins build when updating FBAudienceNetwork
For anyone who happens across this to, FBAudienceNetwork now requires Xcode 11.6 to compile, and it will fail with that error for Xcode 11.3. So you need to update the Xcode version on your Jenkins
Related Topics
Notification in Swift Returning Userinfo in Dictionary
Swift Error: Failed to Get Module 'My_App' from Ast Context
A Concise Way to Not Execute a Loop Now That C-Style for Loops Are Going to Be Removed from Swift 3
Difference Between Sort and Sortinplace in Swift 2
Module Compiled with Swift X.1 Cannot Be Imported in Swift X.0.2
What Does an Underscore "_" Mean in Swift
Swiftui: UIimage (Qrcode) Does Not Load After Calling Function
How to Distinguish Bool and Int in Swift
How to Print Http Request to Console
How to Add More Cases for Enum in Swift
Swift Difference Between Double and Float64
Destructuring Tuple of Tuple in Closure
iOS Swift, Aws Cognito User Pool, Unable to Refresh Access Token
Detect When a Custom Cell Is Selected from Within The Cell Itself