Skip to content

ALTOOL: Validation failed (409) The app references non-public selectors setRequestErrorCode #323

@gabors

Description

@gabors

When using mux-stats-sdk-avplayer 4.8.2 and stats-sdk-objc 5.6.0, build app for distribution and attempting to upload to AppStoreConnect I get the following validation error:

=======================================
UPLOAD FAILED with 1 error, 0 warnings, 0 messages
=======================================
2025-09-11 22:08:02.117 ERROR: [altool.600003BCC1C0] Error uploading 'work/archive/WBDScreeners-ios/WBDScreeners-ios.ipa'.
2025-09-11 22:08:02.117 ERROR: [altool.600003BCC1C0] Validation failed The app references non-public selectors in Payload/WBDScreeners.app/Frameworks/WBDKit.framework/WBDKit: setRequestErrorCode: (ID: 991739ce-50ec-4d11-b5a3-f719bc2394c0) (409)
 {
    NSLocalizedDescription = "Validation failed";
    NSLocalizedFailureReason = "The app references non-public selectors in Payload/WBDScreeners.app/Frameworks/WBDKit.framework/WBDKit: setRequestErrorCode: (ID: 991739ce-50ec-4d11-b5a3-f719bc2394c0)";
    NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 \"Validation failed\" UserInfo={status=409, detail=The app references non-public selectors in Payload/WBDScreeners.app/Frameworks/WBDKit.framework/WBDKit: setRequestErrorCode:, id=991739ce-50ec-4d11-b5a3-f719bc2394c0, code=STATE_ERROR.VALIDATION_ERROR, title=Validation failed, NSLocalizedFailureReason=The app references non-public selectors in Payload/WBDScreeners.app/Frameworks/WBDKit.framework/WBDKit: setRequestErrorCode:, NSLocalizedDescription=Validation failed}";
    "iris-code" = "STATE_ERROR.VALIDATION_ERROR";
}

Updating to this latest MUX version is the only change in this upload. I have confirmed that a new build from the previous commit uploads just fine.

I've looked at your sources and saw these.

Image

it is likely a false positive from Apple, but you may want to name your requestErrorCode something else.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions