I’m new to Flutter Development and App Dev in general. Running app on android works perfectly, however when I tried to run on IOS it failed hard, even though it had worked couple of times in the past (With FirebaseFirestore even).
Every time I run it in Xcode I get the following message:
Error code when run in Xcode
However I do have that file “/packages/flutter_tools/bin/xcode_backend.sh”.
When I try to run by using “flutter run” in VS Code, then the following error shows up:
Error through VSCode
I thought of possible problems:
-
The PATH variable is not set correctly.
But still, it worked a while back, why not now?. And the PATH seems to be fine:
PATH stored correctly -
The Podfiles are not working correctly. (I have no clue why, and can’t explain why they are marked in red)
Red Podfiles
Facts:
- I’m using Xcode 15.0
- CocoaPods version 1.15.2
P.S.: Just as I ran the code again in Xcode, a new error popped up.
New error code
I tried everything on the internet, starting from the pod installs, pod disintegrate etc.. I tried every stack overflow post, nothing works.
I am incredibly frustrated with this problem for some days now and I’m grateful to anyone who will try to help me.
If you need any more information like flutter doctor or anything, then please comment below.
shaunakK is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.