'error: unable to read input file as a property list: The operation couldn’t be completed. (XCBUtil.PropertyListConversionError error 1.)

I'm integrating Firebase to my Flutter app and setting up for iOS. I keep getting this error when I run the application.

Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    error: unable to read input file as a property list: The operation couldn’t be
    completed. (XCBUtil.PropertyListConversionError error 1.) (in target 'Runner' from
    project 'Runner')
    note: Using new build system
    note: Planning build
    note: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.

I'm not sure what could be causing this...



Solution 1:[1]

This indicates a problem with a *.plist file.

Doesn't matter if it is GoogleService-Info.plist one. It could be Info.plist or Info-Debug.plist or Info-Release.plist - literally any .plist file in your iOS project dir.

I suggest opening the Xcode, clicking every .plist file and checking it if opens fine. If not, the IDE would show you error - probably malformed .plist file.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Micha? Dobi Dobrza?ski