I just started working with Flutter. I use a Macbook m2 and my phone is an iPhone XR. I made a very simple application but no matter what I did, I couldn't start my application on my iPhone XR. I got help from all the AIs but we couldn't do it. I deleted everything including Xcode, Android Studio and Flutter and reinstalled them and I followed the SDK installation step by step on the Flutter page but I can't run my project on Xcode. I entered my Apple account including all the signings and certificates via the .workspace file extension but it didn't work. The error I get from Xcode keeps changing. We installed podfiles with the support I got from the AIs and after some fiddling, I got the only error right now: Command PhaseScriptExecution failed with a nonzero exit code
How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here
Flutter Xcode Errors
hi emiranozkan,
please try to implement and run the project
Solution in 2024
Step 1: Open xcode and search for the following line
source="$(readlink "${source}")"
The file directory would be : ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh
Step 2: Replace the searched line in the code with -f
Before
source="$(readlink "${source}")" Change this to:
source="$(readlink -f "${source}")"
If Above Solution Not Worked,
please go through the Below link for Further Solution,