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

The app distribution to App Store Connect fails with “Asset validation failed” errors. #208

Open
PlayRhyba opened this issue Apr 9, 2024 · 5 comments

Comments

@PlayRhyba
Copy link

I use

MaboxMaps 11.2.0
MabboxSearch 2.0.0-rc.3
Xcode 15.3

The app is targeting iOS and has a deployment target of iOS 15.

Probably this issue is specific to Xcode 15.3. An app distribution to App Store Connect (as well as an app validation) always fails with “Asset validation failed” errors. Please check the screenshot and logs below.
Screenshot

2024-04-09 18:10:52.583 DEBUG: [ContentDelivery.Uploader] swinfo errors: (
    "Error Domain=ContentDelivery Code=90057 \"Asset validation failed\" UserInfo={NSLocalizedFailureReason=The bundle 'Payload/MyApp.app/Frameworks/MapboxCoreSearch.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: 0c532e45-8d9e-4b82-bf89-27f1e98eb46f), NSUnderlyingError=0x6000037f8a20 {Error Domain=IrisAPI Code=-19241 \"Asset validation failed\" UserInfo={status=409, detail=The bundle 'Payload/MyApp.app/Frameworks/MapboxCoreSearch.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=0c532e45-8d9e-4b82-bf89-27f1e98eb46f, code=STATE_ERROR.VALIDATION_ERROR.90057, title=Asset validation failed, NSLocalizedFailureReason=The bundle 'Payload/MyApp.app/Frameworks/MapboxCoreSearch.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, NSLocalizedDescription=Asset validation failed}}, iris-code=STATE_ERROR.VALIDATION_ERROR.90057, NSLocalizedDescription=Asset validation failed}",
    
"Error Domain=ContentDelivery Code=90056 \"Asset validation failed\" UserInfo={NSLocalizedFailureReason=This bundle Payload/MyApp.app/Frameworks/MapboxCoreSearch.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 (ID: 2ae0fe11-ceeb-4e35-bc9f-2e936df0efc8), NSUnderlyingError=0x6000037f8150 {Error Domain=IrisAPI Code=-19241 \"Asset validation failed\" UserInfo={status=409, detail=This bundle Payload/MyApp.app/Frameworks/MapboxCoreSearch.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, id=2ae0fe11-ceeb-4e35-bc9f-2e936df0efc8, code=STATE_ERROR.VALIDATION_ERROR.90056, title=Asset validation failed, NSLocalizedFailureReason=This bundle Payload/MyApp.app/Frameworks/MapboxCoreSearch.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, NSLocalizedDescription=Asset validation failed}}, iris-code=STATE_ERROR.VALIDATION_ERROR.90056, NSLocalizedDescription=Asset validation failed}",
    
"Error Domain=ContentDelivery Code=90208 \"Asset validation failed\" UserInfo={NSLocalizedFailureReason=Invalid Bundle. The bundle MyApp.app/Frameworks/MapboxCoreSearch.framework does not support the minimum OS Version specified in the Info.plist. (ID: ddc5568a-999d-4c8b-b8b8-a30b1e3409ce), NSUnderlyingError=0x6000037f81e0 {Error Domain=IrisAPI Code=-19241 \"Asset validation failed\" UserInfo={status=409, detail=Invalid Bundle. The bundle MyApp.app/Frameworks/MapboxCoreSearch.framework does not support the minimum OS Version specified in the Info.plist., id=ddc5568a-999d-4c8b-b8b8-a30b1e3409ce, code=STATE_ERROR.VALIDATION_ERROR.90208, title=Asset validation failed, NSLocalizedFailureReason=Invalid Bundle. The bundle MyApp.app/Frameworks/MapboxCoreSearch.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}"
@aokj4ck
Copy link
Contributor

aokj4ck commented Apr 9, 2024

Hi @PlayRhyba thank you for reporting this issue. This is under investigation to find a fix for you.

@guillecom
Copy link

I'm having the same issue, any workaround or ETA? Thanks!

@MarnixArnold
Copy link

MarnixArnold commented Apr 24, 2024

This was reported earlier as issue 191. Which also still has not been addressed...

Temporary workaround is to use Xcode 15.2 to upload, it won't give you these errors.

@aokj4ck
Copy link
Contributor

aokj4ck commented May 14, 2024

@PlayRhyba @guillecom please update to our latest release v2.0.3 and let me know if you encounter any issues. https://github.com/mapbox/mapbox-search-ios/releases/tag/v2.0.3

@PlayRhyba
Copy link
Author

@aokj4ck I have tested with v2.0.3 and Xcode 15.4. The issue was fixed. Thank you!

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

4 participants