googleads-mobile-ios-mediation icon indicating copy to clipboard operation
googleads-mobile-ios-mediation copied to clipboard

Problems with the versions in the Info.plist files

Open stsandro opened this issue 1 year ago • 5 comments

There are some restrictions around what a proper version looks like. I get the following error when building my app for release on Xcode Cloud:

ITMS-90060: This bundle is invalid - The value for key CFBundleShortVersionString '12.2.1.0' in the Info.plist file at 'Payload/MyCool.app/Frameworks/AppLovinAdapter.framework' must be a period-separated list of at most three non-negative integers. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring

There is also another problem regarding the minimum supported version:

ITMS-90208: Invalid Bundle - The bundle MyCool.app/Frameworks/AppLovinAdapter.framework does not support the minimum OS Version specified in the Info.plist.

This error is also emitted from other frameworks like GoogleMobileAds

As far as I can tell this problem only occurs with Xcode 15.3

stsandro avatar Mar 05 '24 19:03 stsandro

Similar issue, but within MetaAdapter.frameWork: "key CFBundleShortVersionString '6.15.0.0' in the Info.plist file at 'Payload/Tradera.app/Frameworks/MetaAdapter.framework' must be a period-separated list of at most three non-negative integers. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring".

This problem occurs in Xcode 15.3 and Xcode 15.4, but not on Xcode 15.0.

Seems like a pretty easy fix. Pls raise priority on this, since it is blocking us from upgrading 🙏 😏.

Palbrevik avatar May 27 '24 19:05 Palbrevik

Now GoogleMobileAds requires xcode 15.3 and this dependency blocks it. Please post a fix on that!

SzGajdzica avatar Jun 18 '24 09:06 SzGajdzica

you can edit the info.plist inside the framework file and change the CFBundleShortVersionString to 6.15.0 until google get their 💩 together. same for the other mediators if needed

rursache avatar Jun 18 '24 12:06 rursache

The workaround above does not seem to work with Xcode15.4. In Xcode15.4, the Code sign check fails if there are changes to files in the framework.

This also occurs when uploading to the store as well as XcodeCloud.

/projects/Pods/MyFramework.xcframework:1:1: error: The signature of MyFramework.xcframework” cannot be verified.
    note: A sealed resource is missing or invalid
    note: /projects/Pods/MyFramework.xcframework: a sealed resource is missing or invalid
file modified: /projects/Pods/MyFramework.xcframework/ios-arm64_x86_64-simulator/MyFramework.framework/Info.plist
file modified: /projects/Pods/MyFramework.xcframework/ios-arm64/MyFramework.framework/Info.plist

Hopefully Google will respond soon!

s2mr avatar Jul 06 '24 14:07 s2mr

Still nothing, I think we can comment here and wait for several years and nothing will change...

SzGajdzica avatar Sep 17 '24 09:09 SzGajdzica

Hello @all,

If you're having a mediation issues please create a new thread in the AdMob developers forum for us to begin the troubleshooting process. Closing this out as triaging will take place in the forum - Thanks!

malandr2 avatar Sep 30 '24 21:09 malandr2