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

Asset validation failed. A value for the key 'MinimumOSVersion' in bundle Frameworks/PingOneSignals.framework is required. Xcode 15.3 Privacy manifest issue #2

Open
nboyapatimolina opened this issue May 7, 2024 · 27 comments

Comments

@nboyapatimolina
Copy link

Hello team,

We're experiencing issues when attempting to upload builds to TestFlight or Transporter. Could we receive assistance with these errors? I've tried using both Xcode 15.3 and the 15.4 beta version, but the same error persists. Below is the error log:

Asset validation failed (90530)
Invalid MinimumOSVersion. Apps that only support 64-bit devices must specify a deployment target of 8.0 or later. MinimumOSVersion in ‘AppName-AppStore.app/Frameworks/PingOneSignals.framework' is ''.

Asset validation failed (90056)
This bundle Payload/AppName-AppStore.app/Frameworks/PingOneSignals.framework is invalid. The Info.plist file is missing the required key: CFBundleVersion. Please find more information about CFBundleVersion at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion

Asset validation failed (90360)
Missing Info.plist value. A value for the key 'MinimumOSVersion' in bundle AppName-AppStore.app/Frameworks/PingOneSignals.framework is required.

Asset validation failed (90208)
Invalid Bundle. The bundle AppName-AppStore.app/Frameworks/PingOneSignals.framework does not support the minimum OS Version specified in the Info.plist.

Asset validation failed (90057)
The bundle 'Payload/AppName-AppStore.app/Frameworks/PingOneSignals.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring (ID: c50f5c59-b3d0-4f5c-9583-7382d725be41)

@yizharkatif
Copy link
Collaborator

Thanks for reaching out, @nboyapatimolina, we'll add those keys to the Plist in next version.

In the meantime if it's urgent you can consider doing it manually - download the framework pointed out by the Package and add the required keys (MinimumOSVersion, CFBundleVersion, CFBundleShortVersionString) to the Plist file within the framework. This requires embedding the framework in the bundle instead of using SPM, of course temporary till 5.2.4 will be available.

@yizharkatif
Copy link
Collaborator

@nboyapatimolina - 5.2.4 had been released, and should fix this issue.

@learnwithgabbar
Copy link

learnwithgabbar commented May 20, 2024

Invalid Bundle. The bundle XYZ.app/Frameworks/PingOneSignals.framework does not support the minimum OS Version specified in the Info.plist. with latest release

@jcnes
Copy link

jcnes commented May 20, 2024

Same issue as @learnwithgabbar with 5.2.4.

@TheNightmanCodeth
Copy link

+1

@yizharkatif
Copy link
Collaborator

@learnwithgabbar, @jcnes, @TheNightmanCodeth - what's your minimum OS version?

@TheNightmanCodeth
Copy link

iOS 16

@yizharkatif
Copy link
Collaborator

Thanks @TheNightmanCodeth - the MinimumOSVersion in the Plist of PingOneSignals is iOS 12.0. Maybe your podfile specifies lower minimum version?

@TheNightmanCodeth
Copy link

TheNightmanCodeth commented May 20, 2024

@yizharkatif Using SPM for this so not sure it matters but podfile reads:

DEPLOYMENT_TARGET = '16.0'

platform :ios, DEPLOYMENT_TARGET

@yizharkatif
Copy link
Collaborator

Thanks @TheNightmanCodeth - SPM fails also? Where exactly does it fails: when you build, archive, or upload to App Store / TestFlight? If you could post the error message as well, it will help.

@TheNightmanCodeth
Copy link

@yizharkatif it fails during upload to appstoreconnect.

2024-05-20 10:42:05.664 ERROR: [ContentDelivery.Uploader] Asset validation failed (90208) Invalid Bundle. The bundle MyApp.app/Frameworks/PingOneSignals.framework does not support the minimum OS Version specified in the Info.plist. (ID: 49ce2cd0-30d0-41be-aadc-2b171ca3f8e7)

2024-05-20 10:42:05.664 DEBUG: [ContentDelivery.Uploader] Error Domain=ContentDelivery Code=90208 "Asset validation failed" UserInfo={NSLocalizedFailureReason=Invalid Bundle. The bundle MyApp.app/Frameworks/PingOneSignals.framework does not support the minimum OS Version specified in the Info.plist. (ID: 49ce2cd0-30d0-41be-aadc-2b171ca3f8e7), NSUnderlyingError=0x600002f52b80 {Error Domain=IrisAPI Code=-19241 "Asset validation failed" UserInfo={status=409, detail=Invalid Bundle. The bundle MyApp.app/Frameworks/PingOneSignals.framework does not support the minimum OS Version specified in the Info.plist., id=49ce2cd0-30d0-41be-aadc-2b171ca3f8e7, code=STATE_ERROR.VALIDATION_ERROR.90208, title=Asset validation failed, NSLocalizedFailureReason=Invalid Bundle. The bundle MyApp.app/Frameworks/PingOneSignals.framework does not support the minimum OS Version specified in the Info.plist., NSLocalizedDescription=Asset validation failed}}, iris-code=STATE_ERROR.VALIDATION_ERROR.90208, NSLocalizedDescription=Asset validation failed}

@yizharkatif
Copy link
Collaborator

Got it @TheNightmanCodeth - fixing it ASAP. Thanks!

@yizharkatif
Copy link
Collaborator

@TheNightmanCodeth please test v5.2.5 (latest) on SPM.

On CocoaPods 5.2.5 will be available later on - propagation time takes several hours usually.

@TheNightmanCodeth
Copy link

@yizharkatif latest version does not resolve the issue, unfortunately. I am still seeing the same validation error from appstoreconnect

@yizharkatif
Copy link
Collaborator

Thanks @TheNightmanCodeth for the prompt response! I'll check again.

@TheNightmanCodeth
Copy link

@yizharkatif if it helps at all, I'm able to get around the issue by changing the minimum OS version in the frameworks Info.plist to 16.0

@yizharkatif
Copy link
Collaborator

It helps a lot, @TheNightmanCodeth - we've started out by missing minimum OS, and once I've added it then it conflicted with the app minimum OS version.

I'll check what should be done... Thanks!

@yizharkatif
Copy link
Collaborator

@TheNightmanCodeth I've just downloaded some popular iOS SDK frameworks, and they all had the MinimumOSVersion lower than 16.0 of course. Wonder why this one generates this issue.

FirebaseCore Info.plist for instance -
Screenshot 2024-05-20 at 23 04 33

@TheNightmanCodeth
Copy link

@yizharkatif yeah it's definitely strange. I've never seen anything like it before.

@yizharkatif
Copy link
Collaborator

@TheNightmanCodeth if you could try 5.2.6. If it doesn't work - then I'm preparing an infrastructure to reproduce the issue and 5.2.7 will surely fix it. Thanks!

(5.2.6 is only available on SPM, not CocoaPods yet.)

@learnwithgabbar
Copy link

@yizharkatif still not working with 5.2.6

@TheNightmanCodeth
Copy link

@yizharkatif I'm giving it a shot locally but it sounds like maybe the issue is not resolved. After a bit of digging last night I'm wondering if maybe there is some platform APIs y'all are accessing in code that are not supported on iOS 12 and therefore the minimum OS version needs to be bumped up to match

@learnwithgabbar
Copy link

learnwithgabbar commented May 21, 2024

@TheNightmanCodeth
Copy link

Confirmed still not working @yizharkatif

@yizharkatif
Copy link
Collaborator

Thanks @TheNightmanCodeth & @learnwithgabbar, I've reproduced the problem finally, and indeed your post @learnwithgabbar seems to be correct - I'm producing now 5.2.7 with a large number of MinimumOSVersion.

Wonder why official FirebaseCore online is still with a low number - #2 (comment)

@TheNightmanCodeth
Copy link

Thank you, @yizharkatif

@yizharkatif
Copy link
Collaborator

5.2.7 is ready, I've validated it worked around the issue.

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

5 participants