-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
FBAudienceNetwork.framework has an invalid CFBundleIdentifier #2491
Comments
I am having the same problem with iOS Audience Network SDK 6.16.0 |
Hi, have you solved this problem? |
Nope, i've made some progress with Admob mediations adapters https://groups.google.com/g/google-admob-ads-sdk/c/-7N5D2Yq1cI, but Facebook will take half a year to year to fix |
The problem is still active. Last version which is working okay is 6.15.1 |
Did you add the xcframework in the Embed Frameworks? I have added in the Embed Frameworks Also If I add in the Copy files it shows the duplicate error. |
I'm also having this issue. I added the project through the Package.swift file. It works and builds fine locally, but fails when deploying to the app store. Package.swift
Error
|
Okay this isn't the place to be talking about this (I now know). There is an issue in the right place here: https://developers.facebook.com/community/threads/1535870873800781/ But yeah I think I figured it out. Modify the info.plist here in
Then, since you modified the framework, you'll need to re-sign it
I found the bundle id from 6.12.0. And took a guess on the bundle version.
|
This worked for me! Thank you so so much for sharing your solution. You're awesome! |
@kvenn Your solution worked for me! Thank you so so much for sharing your solution. You're awesome! |
Hi, I am still having issues with that. I am trying to create a swift package that contains this xcframework. I am getting error Does anyone has a working swift package containg this library? |
Mine is working and I didn't do much else custom (other than the comment I included). But some other things to try:
And finally, you can do file->packages->refresh or rebuild (or whatever it's called). With a clean. Sometimes it's just a random xcode thing. And if all else fails, restarting your computer can't hurt. |
I am using it in many small projects and i am trying include it in the swift pacakge so it is eaasier to add it to any project i want. It would be best to add it to the swift pacakge but still i am having some issues |
Same problem here even with the latest FBAudienceNetwork SDK 6.17.0 for iOS. |
6.17 should be fixing it cause in the change log it is saying "Support Xcode 16 and above versions" |
its not a Xcode 16 issue, the issue is that for both version and identifier are variable's instead of the real version or identifier. |
Checklist before submitting a bug report
Xcode version
16.0
Facebook iOS SDK version
iOS Audience Network SDK 6.15.2
Dependency Manager
SPM
SDK Framework
Other / I don't know
Goals
I want to add FBAudienceNetwork to my project
Expected results
I want to add FBAudienceNetwork to my project
Actual results
Asset validation failed
This bundle is invalid. The bundle at path Payload/my-gps-location-ios.app/Frameworks/FBAudienceNetwork.framework has an invalid CFBundleIdentifier '$(PRODUCT_BUNDLE_IDENTIFIER)' There are invalid characters(characters that are not dots, hyphen and alphanumerics) that have been replaced with their code point '\u0024\u0028PRODUCT\u005fBUNDLE\u005fIDENTIFIER\u0029' 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: 51b6234b-3664-4f70-b53d-219d14706a34)
Steps to reproduce
Add xcframework downloaded from here https://developers.facebook.com/docs/audience-network/setting-up/platform-setup/ios/add-sdk/
Code samples & details
No response
The text was updated successfully, but these errors were encountered: