An automatic message (ITMS-90338: Non-public API usage) we receive when trying to publish a new version of our apps

Dear Developer,
We identified one or more issues with a recent delivery for your app, "Oilfield Dispatch" 6.1.3 (8). Please correct the following issues, then upload again. 
ITMS-90338: Non-public API usage - The app contains one or more corrupted binaries. Rebuild the app and resubmit.. 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

Actually, just small changes in the new app buld (UI and minor improvements). And the same issue for the other our apps (Bunle IDs: ca.riger.mobile, us.riger.sales, us.riger.operations, us.riger.purchases, us.riger.servicecalls) (deploying without any issues last few years). It's really critical for us and our clients. We can't identify the issue and how to fix it.

Also app us.riger.servicecalls must be resubmitted asap (we can't do that):

App Store Improvement Notice

In 2016, we implemented an ongoing process of evaluating and removing apps that no longer function as intended, don’t follow current review guidelines, or are outdated. This helps us improve discoverability of apps on the App Store, while ensuring that apps work for the majority of users and support our latest innovations in security and privacy. 

Per App Store Review Guideline 4, you must "update your app to ensure it remains functional and engaging to new and existing customers. Apps that stop working or offer a degraded experience may be removed from the App Store at any time." For more information on this and other requirements, see the App Store Review Guidelines. 

Since this app hasn’t been updated within the last three years and doesn't meet a minimum download threshold, it’s scheduled to be removed from the App Store in 90 days. We ask that you submit an app update as soon as possible.

The app will remain available if an app update is submitted and approved within 90 days. If the app is removed from the App Store:

- The app will still function for people who have already downloaded it. They can still make in-app purchases and redownload the app by restoring from an iCloud or iTunes backup.
- TestFlight versions of the app will be unavailable for external and internal testing.
- You can use the latest version of Xcode to build and submit an update at any time, restoring your app to the App Store upon approval.

How can we debug this ? How can we identify the source of the problem? Can you please check, what's wrong?

What we've 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 message from the App Store Connect;
  2. We tried to look for every reference listed in the automatic message using XCode and grep => We found none of those;
  3. We don't use any API references in the apps.

XCode version : 14.2 MacOS version : 12.6.8

Best regards,

An automatic message (ITMS-90338: Non-public API usage) we receive when trying to publish a new version of our apps
 
 
Q