[英]Where to find iOS Bundle ID without xcode? (Flutter)
I need to find the Bundle ID of my app to add it to my firebase project.我需要找到我的应用程序的 Bundle ID 才能将它添加到我的 firebase 项目中。
I use VS Code for flutter development, but all the guides online on where to find the bundle id explain how to find it with xcode, which I cannot have since I have a PC我使用 VS Code 进行 Flutter 开发,但是关于在哪里找到包 ID 的所有在线指南都解释了如何使用 xcode 找到它,因为我有一台 PC
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 .在您的项目的根文件夹中,您可能有一个名为Info.plist的文件,如果您在任何文本/代码编辑器中打开此文件,您可以通过CFBundleIdentifier进行搜索。 The next line will show your Bundle ID.
下一行将显示您的 Bundle ID。
Inside Runner.xcodeproj folder, open project.pbxproj在 Runner.xcodeproj 文件夹中,打开 project.pbxproj
Then to search, press CTRL+F然后要搜索,请按CTRL+F
Search for PRODUCT_BUNDLE_IDENTIFIER搜索 PRODUCT_BUNDLE_IDENTIFIER
You will get your ios bundle id.您将获得您的 ios 捆绑包 ID。
This ans is a mix of those above answer这是以上答案的混合
To the bundle identifier in Info.plist
:到
Info.plist
的包标识符:
<key>CFBundleIdentifier</key> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
which is found in Runner.xcodeproj/project.pbxproj
:在
Runner.xcodeproj/project.pbxproj
找到:
PRODUCT_BUNDLE_IDENTIFIER = com.example.appname;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.