Skip to content

When targeting watchOS, AppStoreConnect generates a private API error. #3863

@Lightning-Lion

Description

@Lightning-Lion

After adding SDWebImage dependency in the watchOS project, the app can normally archive and upload to AppStoreConnect in Xcode, but the following error message will be displayed on the AppStoreConnect web page. The relevant errors will disappear after manually branching the SDWebImage code and deleting the UIScreen and UITraitCollection related codes.

90338: Non-public API usage. The app contains or inherits from non-public classes in Watch/<YOUR_TARGET_NAME>.app/<YOUR_TARGET_NAME>: UIScreen
The app contains or inherits from non-public classes in Watch/<YOUR_TARGET_NAME>.app/<YOUR_TARGET_NAME>: UITraitCollection

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions