EAS deployment fails with Fastlane

Hi everyone,
I’m trying to deploy my iOS app using eas-cli version 0.52.0 and expo-sdk version 44. I keep running into this issue of not having “ExpoModulesCore”. I’ve tried adding the code snippet below as many forums have suggested but it hasn’t worked. I’ve also put a screenshot of the error below. Thanks for the help!

post_install do |installer|
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings["ONLY_ACTIVE_ARCH"] = "NO"