Issue with getentropy() and App Store

My build using getentropy() was rejected. Although this is clearly recommended by documentation.
https://support.apple.com/guide/security/random-number-generation-seca0c73a75b/web


ITMS-90338: Non-public API usage - The app references non-public symbols in ***: _getentropy. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/

Although this is clearly recommended by documentation.

The article you have referred does not contain any sort of recommendation for third party apps.
That is a private API, not intended for public use.

Why do you need it ?

That is a private API, not intended for public use.
Why do you need it ?

I use the LuaJIT library (with the JIT disabled of course) and recently started using this API. I found this out exactly at the moment my build was rejected...
So Apple's instruction is clear: you cannot use this with such a system call. Did you contact the library developer ?

Did you contact the library developer ?

Yes, library developer answer: https://github.com/LuaJIT/LuaJIT/issues/668#issuecomment-790509439

Yes, library developer answer: https://github.com/LuaJIT/LuaJIT/issues/668#issuecomment-790509439

Seems you have your own workaround. Go in your way or avoid using the library.
Issue with getentropy() and App Store
 
 
Q