I have tried but get another error:
UserError: error: Resource “/Users/voltbuilder/Library/Developer/Xcode/DerivedData/Werkbriefje-fhyfgyviwkvisofyrcbtnbkgehru/Build/Intermediates.noindex/ArchiveIntermediates/Werkbriefje/BuildProductsPath/Debug-iphoneos/GoogleTagManager/TagManagerResources.bundle” not found. Run ‘pod install’ to update the copy resources script.
According cordova-plugin-firebasex 🚀 - Could not compile on IOS - InAppMessagingDisplayResources.bundle missing | bleepcoder.com upgrading your cocoapods installation should solve this