android – react-native run-ios fails but builds fine in Xcode works after installing notify


I Had a perfectly working product, and went on to install notifee which broke both iOS and android builds. Android was due to notifee using compileTools 33 when some dependencies I had for whatever reason refused to work with it. iOS was a mystery.
I decided to remove notifee and my android build works fine, but iOS only works when ran through Xcode. When ran by using react-native run-its command it exits with an error code that happens very quickly after starting metro, probably within 2 seconds of the bundler starting up.
I have also enabled Hermes on iOS since this issue began happening (yes I probably should have waited until I had everything running to do so) but I doubt Hermes is the issue since Xcode builds and runs the app perfectly.
Please see the build output.

react-native info

    OS: macOS 12.6
    CPU: (8) arm64 Apple M1 Pro
    Memory: 217.95 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
    Node: 16.9.1 - /opt/homebrew/bin/node
    Yarn: Not Found
    npm: 7.21.1 - /opt/homebrew/bin/npm
    Watchman: 2021.09.13.00 - /opt/homebrew/bin/watchman
    CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
    iOS SDK:
      Platforms: DriverKit 21.0.1, iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0
    Android SDK: Not Found
    Android Studio: 2021.3 AI-213.7172.25.2113.9123335
    Xcode: 13.1/13A1030d - /usr/bin/xcodebuild
    Java: 11.0.12 - /usr/bin/javac
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2 
    react-native: 0.66.4 => 0.66.4 
    react-native-macos: Not Found
    *react-native*: Not Found

I have already tried pod deintegrate and re-installing pods multiple times and even restarting my system, but nothing works.
I would love both a fix as I’ve wasted essentially an entire day trying to fix this, and an explanation as to what exactly is happening if possible.