Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find an iOS bundle identifier in the flutter application

I am working on a flutter app and cannot find the bundle identifier. According to the documentation here (https://firebase.google.com/docs/flutter/setup), it should be in the General tab but I can't find it. I've also read in places that it could be here: ios/Runner.xcodeproj but my project doesn't contain that. Thanks!

like image 754
mgsoverflow Avatar asked Feb 08 '20 22:02

mgsoverflow


People also ask

How can I get iOS bundle ID in Flutter without Xcode?

In the root folder of your project you probably have a file called Info. plist if you open this file in any text/code editor you can search by CFBundleIdentifier. The next line will show your Bundle ID. That's great!

How do I find my bundle ID Xcode?

Open you project with XCode, select the top project item in the project navigator at the left. Then select TARGETS -> General. Bundle Identifier is found under Identity.

What is bundle ID in iOS?

Overview. The bundleIds resource represents the app's unique identifier that you can register, modify, and delete. You need a bundle ID before you can assign capabilities with the Bundle ID Capabilities resource or create a provisioning profile with the Profiles resource.


1 Answers

Easiest way to find it is doing the following:

  • Open your Flutter Project on Android Studio or VS Code
  • Search PRODUCT_BUNDLE_IDENTIFIER =
  • Hit Enter, open the file and check your Bundle Identifier

Android Studio Search

There's other way to do it but you need MacOS with XCode installed:

  • With Finder got to your Flutter folder, then iOS and open Runner.xcworkspace (white icon)
  • Double click and open it on XCode.
  • Upper left corner (Project Navigation), click on Runner
  • Over Identity you'll have several fields, one of those is Bundle Identifier

XCode Project Navigation

like image 94
Mariano Zorrilla Avatar answered Oct 04 '22 23:10

Mariano Zorrilla