Xcode error: Missing required module 'Firebase' Xcode error: Missing required module 'Firebase' xcode xcode

Xcode error: Missing required module 'Firebase'


For anyone still having this issue, doing this solved it for me. Add this to your test target build settings.

HEADER_SEARCH_PATHS = "${SRCROOT}/Pods/Firebase/CoreOnly/Sources"

Full discussion can be found on firebase GitHub issues.

you can find HEADER_SEARCH_PATHS in Test Target > Build Settings > Search Paths > Header Search paths.

Just incase you cant find HEADER_SEARCH_PATHS in Build Settings, click the ALL button to show all settings.


Add the following to your test target:

HEADER_SEARCH_PATHS = "${PODS_ROOT}/Firebase/CoreOnly/Sources"

That’s in test target > Build Settings > Header Search Paths.


After adding test target, running:

pod install

and add to:

HEADER_SEARCH_PATHS = $(inherited)

fixed for me.

On Framework Search Path pod put all pod projects path automatically.

Of course, to podfile added this after last pod name:

target 'TestTargetName' do  inherit! :search_pathsend