I have created a new flutter project on Android studio. When I try to run it on emulator it gives this error:
PhaseScriptExecution failed with a nonzero exit code
When I check the "For install builds only" checkbox in the Target>Build Phases>Run Scripts or when I exclude arm64 architecture, it gives another error
'Flutter/Flutter.h' file not found
I have tried deleting and recreating the ios directory, but no luck.
Flutter doctor and everything works completely fine
Please help me
Thanks in advance