firebase-ios-sdk: CFBundleIdentifier invalid characters
Step 1: Describe your environment
Xcode version 13.3.1 Firebase SDK version: 9.1.0 Installation method: Swift Package Manager Firebase Component: Firestore, Analytics, Auth, Storage, Messaging, Installations Target platform(s): iOS
Step 2: Describe the problem
I get the following error when uploading to App Store connect.
This bundle is invalid. The bundle at path Payload/Test.app/Frameworks/GoogleUtilities_Environment.framework has an invalid
CFBundleIdentifier 'GoogleUtilities_Environment' There are invalid characters(characters that are not dots, hyphen and
alphanumerics) that have been replaced with their code point 'GoogleUtilities\u005fEnvironment' CFBundleIdentifier must be
present, must contain only alphanumerics, dots, hyphens and must not end with a dot. [see the Core Foundation Keys at
https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.
html#//apple_ref/doc/uid/TP40009249-102070-TPXREF105]
This bundle is invalid. The bundle at path Payload/Test.app/Frameworks/GoogleUtilities_Logger.framework has an invalid
CFBundleIdentifier 'GoogleUtilities_Logger' There are invalid characters(characters that are not dots, hyphen and alphanumerics)
that have been replaced with their code point 'GoogleUtilities\u005fLogger' CFBundleIdentifier must be present, must contain only
alphanumerics, dots, hyphens and must not end with a dot. [see the Core Foundation Keys at
https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.
html#//apple_ref/doc/uid/TP40009249-102070-TPXREF105]
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (10 by maintainers)
Quick update– GoogleUtilities 7.9.0 is released and has the fix for this issue. Please reach out if it gives you any trouble.
Hi everyone, we identified a fix in GoogleUtilities that should prevent this issue. We will release it in a SwiftPM-only GoogleUtilities 7.9.0 release sometime next week. I will update this bug when that happens. Thanks for your patience!
Added a question at https://developer.apple.com/forums/thread/704934?login=true&page=1#717415022
Sorry about the trouble and thanks for the report.
Please share the Xcode version being used as well.