The domain/default pair of (<path>/friendlychat/ios/Runner/Info, CFBundleIdentifier Error

813 views
Skip to first unread message

Aniket Deshmukh

unread,
Sep 8, 2017, 11:18:38 PM9/8/17
to Flutter Dev
Hi All
Sorry for asking basic setup related question but I am very new to flutter and app development.

Anyone came across following error while building flutter + firebase example app on iOS?

Launching lib/main.dart on iPhone SE in debug mode...
2017-09-09 08:34:17.555 defaults[30324:975026] 
The domain/default pair of (/Users/mac/IdeaProjects/friendlychat/ios/Runner/Info, CFBundleIdentifier) does not exist
No application found for TargetPlatform.ios.
Is your project missing an ios/Runner/Info.plist?
Consider running "flutter create ." to create one.

I checked everything is clean, I do have Info.plist in Runner directory such as

Flutter doctor is clean as well. I ran flutter create . in same directory but it didn't solve this problem.

LarkAscending

unread,
Sep 11, 2017, 1:46:36 PM9/11/17
to Flutter Dev
Hi Aniket,

I see that you have Info.plist open in IntelliJ, and the screenshot is of that file's contents. Could you please switch to the tab for GoogleService-Info.plist, the one that Firebase generates, and take a screenshot of that one?
It should have the mods from Step 6 Sign users into your app>Configure Google Sign-In on iOS. This is the bundle ID and reverse URL of your client ID.

Please let us know if this resolves the issue.

Elaine Astrue

Aniket Deshmukh

unread,
Sep 11, 2017, 10:48:10 PM9/11/17
to Flutter Dev
Thanks Elaine
Here it is, I checked bundle ID and reverse URL are correct and matches with google generated Info.plist file. 


Aniket Deshmukh

unread,
Sep 11, 2017, 10:49:24 PM9/11/17
to Flutter Dev
Sorry I sent previous screenshot again, Here it is correct one.

LarkAscending

unread,
Sep 13, 2017, 2:46:55 PM9/13/17
to Flutter Dev
OK, this piece looks good, thank you!

Next thing - are you using the Simulator or a physical iPhone SE device? 

If a physical device, run `open ios/Runner.xcworkspace` to open the Xcode default workspace for your project.
Check that the General>Identity> Bundle Identifier value matches the string in your GoogleService-Info.plist file.
More details on this step (which is not described in the codelab BTW) on flutter.io/setup-macos/ under "Deploy to iOS devices"

Otherwise, please file an issue with detailed flutter doctor output and steps to reproduce.

Aniket Deshmukh

unread,
Sep 19, 2017, 6:55:37 AM9/19/17
to Flutter Dev
Thanks I opened https://github.com/flutter/flutter/issues/12134 
I am using simulator only and not physical device.

Collin Jackson

unread,
Sep 19, 2017, 12:31:53 PM9/19/17
to Aniket Deshmukh, Flutter Dev
There's a syntax error in your Info.plist because of the // comment. We should update the codelab to make this less confusing. I've updated the issue to reflect this. Thanks!

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages