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...
I have been facing the same problem with a newly imported Flutter project.
After some debugging, it seems like the issue was caused by a corrupt GoogleService-Info.plist
file! Dunno why and how it was corrupted, because I have newly imported and existing project.
To solve this problem, you can follow those steps;
GoogleService-Info.plist
fileWhen this is done,
run flutter clean
then try running it in iOS Simulator
This worked for me, hope it solves your problem too.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With