简体   繁体   中英

This bundle is invalid - The Info.plist file for PersonalizedAdConsent.framework is missing or could not be read

The title error is what gets emailed after uploading the ipa via the application loader and below is the error that occurs in debug mode:

ERROR: "The framework APPNAME.app/Frameworks/PersonalizedAdConsent.framework does not contain a binary named PersonalizedAdConsent"

I've been getting this error in debug mode when trying to build the project. However, when I build it in Ad-Hoc mode, it builds fine and uploads on the application loader without any issues but then I get the following mail

"This bundle is invalid - The Info.plist file for PersonalizedAdConsent.framework is missing or could not be read."

I've looked in the Info.plist file as well as .csproj file for this reference and I cannot find it anywhere.

Also searched online, can't find much about the PersonalizedAdConsent .

Any ideas?

So it seems like the issue was because of the following packages: Xamarin.Google.iOS.MobileAds

&

Xamarin.Firebase.Ads

As far as I can tell, the app needs permissions to request consent to display ads or personalized ads (not too sure exactly) and it build correctly after removing these packages.

These were in a build that I've done on Windows for a different app which did not actually use them but VS for MAC gave me the issues and it turned out to be these packages that were causing it.

Hope it helps!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM