I created an app in flutter and used a stateless widget to just display some Information on the screen. The app installed and worked as expected on an android device. But when I wanted to deploy it on an iOS device I opened Xcode, signed using my developer profile and selected the recommended settings. Then I got an error that said
Command PhaseScriptExecution failed with a nonzero exit code
Library/Developer/Xcode/DerivedData/Runner-hfjtuvhggwzrrceitthqbpzcpuss/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Script-9740EEB61CF901F6004384FC.sh
I think this is an issue pertaining to Xcode itself. Before posting here I also googled the issue and tried various other methods but in vain.
[Error from the logs][1] I will be happy to share more pictures of errors from the console which may help solve the error further