error: Build input file cannot be found: '/Users/GoogleService-Info.plist' (in target 'Runner' from project 'Runner')
Remove the GoogleService-Info.plist
and then again add the file into the Runner
directory using Xcode, then choose copy items if needed
and add to target
checkmark. I hope this will solve your problem.
Eventually I found the way to fix it:
Download the new
GoogleService-Info.plist
file from FirebasePlace it in the
ios/Runner
directory of your flutter project (put GoogleService-Info.plist into Runner directory NOT in XCode)open XCode with open
ios/Runner.xcworkspace
In XCode, drag the file
GoogleService-Info.plist
from your finder, to the yellow Runner folder underneath the blue RunnerProject`, (in the project navigator on the left side of the screen)
- Next,
flutter run