Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CFBundleIdentifier '_NIOBase64' and '_NIODataStructures' There are invalid characters #478

Open
grassesTop opened this issue Sep 5, 2024 · 4 comments

Comments

@grassesTop
Copy link

Hi Team ,

I archive app and distribute it to testFlight, but upload failed.

Asset validation failed
This bundle is invalid. The bundle at path Payload/vive_edu.app/Frameworks/_NIOBase64.framework has an invalid CFBundleIdentifier '_NIOBase64' There are invalid characters(characters that are not dots, hyphen and alphanumerics) that have been replaced with their code point '\u005fNIOBase64' 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]
(ID: c87c89fe-65c6-478e-a17b-a6bd49827265)

Asset validation failed
This bundle is invalid. The bundle at path Payload/vive_edu.app/Frameworks/_NIODataStructures.framework has an invalid CFBundleIdentifier '_NIODataStructures' There are invalid characters(characters that are not dots, hyphen and alphanumerics) that have been replaced with their code point '\u005fNIODataStructures' 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]
(ID: 815c78d5-28cd-44e9-97c2-7aa6de5da017)

Xcode -> 15.2
swift-nio-ssl -> 2.27.2
Apple Swift version -> 5.9.2

What can I do for it?

@FranzBusch
Copy link
Member

If I recall correctly this issue was fixed in newer Xcodes. Can you try building and submitting with Xcode 15.3 or 15.4?

@grassesTop
Copy link
Author

If I recall correctly this issue was fixed in newer Xcodes. Can you try building and submitting with Xcode 15.3 or 15.4?

I update Xcode to 15.4(15F31d), but it still made the same error.

@FranzBusch
Copy link
Member

I misremembered which Xcode is shipping the fix it turns out this is fixed with Xcode 16 and should work in the recent betas.

@grassesTop
Copy link
Author

Thanks for your help, I will retry it use Xcode 16.
Now, I download swift-nio for local lib, and replace all '_NIOBase64' and '_NIODataStructures' to 'NIOBase64' and 'NIODataStructures', then it pass the apple check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants