ITMS-90338: Non-public API usage

Hello, im receiving this error after submitting our app to Apple Connnect.

I've tried changing build configuration to Release in Xcode but still giving me same response from Apple Developer

Thank you for any help


Dear Developer,

We identified one or more issues with a recent delivery for your app, "*********" 1.6.0 (20). Please correct the following issues, then upload again.

ITMS-90338: Non-public API usage - The app references non-public selectors in ********: _isKeyDown, _modifiedInput, _modifierFlags. 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/

Best regards,

The App Store Team