My Custom Capacitor Plugin Cannot Access Firebase Modules. 'No such module "Firebase" '

Post on stackoverflow

I have created two projects using Ionic Capacitor that have linked. One project is a Capacitor Plugin, CapacitorWalletAccess; and the other is a bare Ionic Project I will use as a testing environment for the plugin. The Plugin aims to do several things. It accesses the User’s wallet and it can return all of the wallet’s passes well as their information to the app. It can also take data from the app to create a new pass, save it to a storage site online, and then download it to the device.

I am most familiar with Firebase, so I am trying to save it to and pull the new pass from there. The Plugin can be built perfectly fine with no errors and it has Firebase implemented. Once I add the plugin to the Tester app (which also has Firebase installed) the plugin throws a no such module 'Firebase' error. Adding Firebase to the podfile, adding the firebase-ios-sdk, adding Firebase to the project and targets’ Libraries, Dependencies and Frameworks and every other form of adding Firebase has failed. I have spent over two weeks and over 20 hours dedicated solely to fixing the No such module 'Firebase' error, to absolutely no avail. Please asisst

This is the Test App’s Podfile

require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'

platform :ios, '13.0'

# workaround to avoid Xcode caching of Pods that requires
# Product -> Clean Build Folder after new Cordova plugins installed
# Requires CocoaPods 1.6 or newer
install! 'cocoapods', :disable_input_output_paths => true

def capacitor_pods
  pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
  pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
  pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app'
  pod 'CapacitorHaptics', :path => '../../node_modules/@capacitor/haptics'
  pod 'CapacitorKeyboard', :path => '../../node_modules/@capacitor/keyboard'
  pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar'
  pod 'CapacitorWalletAccess', :path => '../../../../Packages/Capacitor/capacitor-wallet-access'

target 'App' do
  # Add your Pods here
  pod 'Firebase'
  pod 'Firebase/Core'
  pod 'Firebase/Storage'
  pod 'Firebase/Firestore'

post_install do |installer|

And here are some images from inside of my XCode, showing that Firebase should be properly installed