Missing Required Module Firebase - Jenkins Build Error

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.

  1. Quit Xcode.
  2. Delete project's temp files located at ~/Library/Developer/Xcode/DerivedData
  3. Delete ProjectName.xcworkspace
  4. Delete Podfile.lock file and Pods folder
  5. Run pod install.
  6. 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



Leave a reply



Submit