error: Build input file cannot be found: '/Users/GoogleService-Info.plist' (in target 'Runner' from project 'Runner') error: Build input file cannot be found: '/Users/GoogleService-Info.plist' (in target 'Runner' from project 'Runner') xcode xcode

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:

  1. Download the new GoogleService-Info.plist file from Firebase

  2. Place it in the ios/Runner directory of your flutter project (put GoogleService-Info.plist into Runner directory NOT in XCode)

  3. open XCode with open ios/Runner.xcworkspace

  4. 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)

enter image description here

  1. Next, flutter run