Skip to content

Usage of CGSRegionRelease in core-graphics prevents publishing to the Mac AppStore #656

@wooden-worm

Description

@wooden-worm

My app got rejected from the Mac AppStore with the following message:

Guideline 2.5.1 - Performance - Software Requirements

Your app uses or references the following non-public or deprecated APIs:

Contents/MacOS/***
Symbols:
• _CGSRegionRelease

The use of non-public or deprecated APIs is not permitted on the App Store, as they can lead to a poor user experience should these APIs change and are otherwise not supported on Apple platforms.

I believe the offending code is here:

unsafe { ffi::CGSRegionRelease(self.region) }

I haven't found any workaround yet, any help would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    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