TMS-90338: Non-public API usage - The app references non-public selectors

Dear Developer,
We identified one or more issues with a recent delivery for your app, "COMLAB" 101.0.0 (7.0.0). Please correct the following issues, then upload again.

TMS-90338: Non-public API usage - The app references non-public selectors in Comlab: _isKeyDown, _modifiedInput, _modifierFlags, handleNotification:, invalidateInputAccessoryView, isPassthrough, onSuccess:, removeValuesForKeys:completion:, updateSettings:, viewManager. 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/
Though you are not required to fix the following issues, we wanted to make you aware of them:

ITMS-90683: Missing Purpose String in Info.plist - Your app‘s code references one or more APIs that access sensitive user data. The app‘s Info.plist file should contain a NSLocationWhenInUseUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources
Best regards,
The App Store Team

The problem is we do not understand what the issue is even when reading your automatic message.

How can we debug this ? How can we identify the source of the problem ? Do you have any idea of what the problem is ?

What we tried :

  1. We tried to re-publish the application we currently have on your store (production) with different build number => App rejected with the same automatic message ;
  2. We tried to disable one by one every react plugin => App rejected with the same automatic message ;
  3. We tried to look for every reference listed in the automatic message using XCode and grep => We found none of those ;
  4. We tried to upgrade react & expo => App rejected with the same automatic message ;
  • XCode version : 13.4.1
  • MacOS version : 12.4
  • Expo version : 45
  • React version : 17

Best regards,

Same issue in hybrid application

TMS-90338: Non-public API usage - The app references non-public selectors
 
 
Q