iOS Question Error uploading to Appstore connect. Asset Validation failed

mcqueccu

Well-Known Member
Licensed User
Longtime User
Good day,

Please I tried uploading to itunes connect with Store Profile, but i got this compile error. The App uses the Google MLKIT Textrecognition, am sure the problem is from there

This caught my attention:
The CFBundleSupportedPlatforms key in the Info.plist file in \U201cPayload/See.app/LatinOCRResources.bundle\U201d bundle contains an invalid value,

B4X:
2024-09-29 04:20:24.166 DEBUG: [ContentDelivery.Uploader] Log file path: /Users/administrator/Library/Logs/ContentDelivery/com.apple.itunes.altool/com.apple.itunes.altool_Upload_2024-09-29_04-20-03_882.txt
2024-09-29 04:20:24.169 *** Error: Error uploading 'See.ipa'.
2024-09-29 04:20:24.169 *** Error: Asset validation failed Invalid CFBundleSupportedPlatforms value. The CFBundleSupportedPlatforms key in the Info.plist file in “Payload/See.app/LatinOCRResources.bundle” bundle contains an invalid value, [iPhoneSimulator]. Consider removing the CFBundleSupportedPlatforms key from the Info.plist file. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue. (ID: 5064dd88-6e9b-4091-af9b-d5d1597f9ebb) (90542)
 {
    NSLocalizedDescription = "Asset validation failed";
    NSLocalizedFailureReason = "Invalid CFBundleSupportedPlatforms value. The CFBundleSupportedPlatforms key in the Info.plist file in \U201cPayload/See.app/LatinOCRResources.bundle\U201d bundle contains an invalid value, [iPhoneSimulator]. Consider removing the CFBundleSupportedPlatforms key from the Info.plist file. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue. (ID: 5064dd88-6e9b-4091-af9b-d5d1597f9ebb)";
    NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 \"Asset validation failed\" UserInfo={status=409, detail=Invalid CFBundleSupportedPlatforms value. The CFBundleSupportedPlatforms key in the Info.plist file in \U201cPayload/See.app/LatinOCRResources.bundle\U201d bundle contains an invalid value, [iPhoneSimulator]. Consider removing the CFBundleSupportedPlatforms key from the Info.plist file. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue., id=5064dd88-6e9b-4091-af9b-d5d1597f9ebb, code=STATE_ERROR.VALIDATION_ERROR.90542, title=Asset validation failed, NSLocalizedFailureReason=Invalid CFBundleSupportedPlatforms value. The CFBundleSupportedPlatforms key in the Info.plist file in \U201cPayload/See.app/LatinOCRResources.bundle\U201d bundle contains an invalid value, [iPhoneSimulator]. Consider removing the CFBundleSupportedPlatforms key from the Info.plist file. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue., NSLocalizedDescription=Asset validation failed}";
    "iris-code" = "STATE_ERROR.VALIDATION_ERROR.90542";
}
 
Solution
Make a test and delete <project>\Files\Special\LatinOCRResources.bundle\Info.plist

Clean the project.

Do you get any error when running the app from the IDE?
Cookies are required to use this site. You must accept them to continue using the site. Learn more…