Problem :I am trying to add flutter to the existing app. So before doing on the production app I tried with brand new Xcode 10 Single View Application. I followed the tutorial here on https://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps and got stuck after adding the run script in the build phase of my target. It's giving the error: Show Error:
I have tried below things. My pod file:
Please help me out with this issue. Tags : ios,swift,xcode,flutter,dart Answer 1:This work for me Thanks Alexander Lozano, I upload image for Xcode Version 12.0.1 Answer 2:this works for me:
in build phases: run script and thin binary, select: Answer 3:For beginners: (tested on XCODE 12.0.1) open Xcode--> Open a project or file --> go to the flutter app path/ios directory--> open --> Runner and follow attached image steps Answer 4:I was having the issue for 2 days. My failure was slightly different:
I was on Flutter
Worked for me (I
ended up with Answer 5:This worked for me:
PS. You may also need to do that for each target, i.e
2) Run |