-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Appstore does not accept apps using private CF API's #1568
Comments
FWIW, by removing these 2 methods, we could upload an app to the AppStore without issues. |
@johanvos is this still relevant? Can we close the issue? |
It is still relevant. I'll create a PR for this. |
The approach for getting the system os version in GraalVM is not allowed by Apple (at least, apps that use it can not be uploaded to the App Store (ios) or Apple Store (mac)) because it is using an internal CoreFoundation API. The approach taken in OpenJDK is valid for Apple though: https://github.com/openjdk/jdk/blob/master/src/java.base/macosx/native/libjava/java_props_macosx.c#L237 -- but I don't see an easy way to replace the Java code in Line 73 in 494b82e
|
When submitting an app build using Graal to the AppStore, the app was rejected and the following message was received:
The app references non-public symbols in App: __CFCopyServerVersionDictionary, __CFCopySystemVersionDictionary.
This is due to _CFCopyServerVersionDictionary and _CFCopySystemVersionDictionary in com.oracle.svm.core.posix.headers.darwin.
Those functions are used in com.oracle.svm.core.posix.darwin.DarwinSystemPropertiesSupport.osVersionValue and they should probably be replaced with "non-internal" functions.
The text was updated successfully, but these errors were encountered: