How to fix "Cycle inside Runner; building could produce unreliable results" Xcode error when trying to run app locally on iPhone?

Hi everyone! I'm trying to run my Flutter code natively on my iPhone, but whenever I try to run it, I keep get the following error message:

Error (Xcode): Cycle inside Runner; building could produce unreliable results.
Cycle details:
β†’ Target 'Runner': ExtractAppIntentsMetadata
β—‹ Target 'Runner' has copy command from '/Users/matthewlee/flutterflow/AppName/build/ios/Debug-iphoneos/ImageNotification.appex' to
'/Users/matthewlee/flutterflow/AppName/build/ios/Debug-iphoneos/Runner.app/PlugIns/ImageNotification.appex'
β—‹ Target 'Runner' has compile command with input '/Users/matthewlee/flutterflow/AppName/ios/Runner/Base.lproj/LaunchScreen.storyboard'
β—‹ That command depends on command in Target 'Runner': script phase β€œThin Binary”
β—‹ Target 'Runner' has process command with output '/Users/matthewlee/flutterflow/AppName/build/ios/Debug-iphoneos/Runner.app/Info.plist'

I've been trying to rearrange my Build Phases in Xcode, but nothing has seemed to work yet. How do I fix this issue preventing my app from running?

3
3 replies