Share via

Problem publishing AppStore application .Net7-macos

Rogister Alain 0 Reputation points
2023-10-05T13:30:29.6966667+00:00

We published our .Net7-macos application on the Appstore and it is rejected for the following reason:

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

/System/Library/PrivateFrameworks/ClassKit.framework/Versions/A/ClassKit

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.

By analyzing, we see that in Release or AppStore mode, we have the impression that the link does not work. Does anyone have any idea how to fix this?

Developer technologies | .NET | Other

1 answer

Sort by: Most helpful
  1. Rogister Alain 0 Reputation points
    2023-10-06T06:30:06.6533333+00:00

    No, not MAUI. This is a Net7-macos application (therefore for Mac). I think we finally found the problem. As we saw, it did not perform the LINK ALL (and therefore it leaves dependencies which are not allowed by APPLE (and therefore rejected)).

    Analyzing the problem throughout the day and trying to figure out why it wasn't linking. We realized that in the CPROJ there was a line of type <LinkMode>None</LinkMode> at the end of the project whereas in the properties above, we had set <LinkMode>Full</ LinkMode>.

    So in fact, this property which was below in the project canceled the link.

    We have republished the application and we are waiting for the response from APPLE mnt.

    Alain

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.