简体   繁体   English

哪里可以找到没有 xcode 的 iOS Bundle ID? (扑)

[英]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。

  1. Inside Runner.xcodeproj folder, open project.pbxproj在 Runner.xcodeproj 文件夹中,打开 project.pbxproj

  2. Then to search, press CTRL+F然后要搜索,请按CTRL+F

  3. Search for PRODUCT_BUNDLE_IDENTIFIER搜索 PRODUCT_BUNDLE_IDENTIFIER

  4. You will get your ios bundle id.您将获得您的 ios 捆绑包 ID。

This ans is a mix of those above answer这是以上答案的混合

  1. To the bundle identifier in Info.plist :Info.plist的包标识符:

     <key>CFBundleIdentifier</key> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
  2. which is found in Runner.xcodeproj/project.pbxproj :Runner.xcodeproj/project.pbxproj找到:

     PRODUCT_BUNDLE_IDENTIFIER = com.example.appname;

It's the value inside the String tag in file Info.plist located in the folder ios/Runner .它是位于文件夹ios/Runner中的文件Info.plist String标记内的值。

在此处输入图片说明

Bundle ID will be here : <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>捆绑 ID将在此处: <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在没有 XCode 的情况下找到 iOS 产品包标识符? - How do I find the iOS Product Bundle Identifier without XCode? iOS应用程序,XCode上的ID捆绑包错误 - IOS application, ID bundle errors on XCode Flutter / iOS:无法确定捆绑 ID - Flutter / iOS : Could not determine bundle id 在 flutter 应用程序中查找 iOS 包标识符 - Find an iOS bundle identifier in the flutter application Xcode 找不到任何与“应用程序扩展包的捆绑 ID”签名问题匹配的 iOS App Store 配置文件 - Xcode couldn't find any iOS App Store provisioning profiles matching 'bundle id for app extension' signing problem iOS Bundle ID 更改后出现问题,Xcode “上传失败” - iOS problems after Bundle ID change, Xcode “failed to upload” 在哪里可以在xcode中找到“应用程序ID”? - where can I find 'Application ID' in xcode? Firebase AppCheck的颤振IOS中的密钥ID在哪里 - Where is Key Id in flutter IOS for Firebase AppCheck ios - 混淆了plist中我需要设置bundle id的位置 - ios - confused as to where in the plist I need to set the bundle id app ID 和 bundle ID 有什么区别? Xcode 项目中的应用 ID 在哪里? - What is the difference between the app ID and the bundle ID? Where is the app ID in the Xcode project?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM