Sometime when you try to make any changes to your iOS app, you might be facing the error: “TMS-90338 Non-public API usage” and fail to submit the changes into your app.
you are not the only who facing the issue, we would explain the reason and way to fix the error “TMS-90338: Non-public API usage” below in-detail:
Below is the shown error snippet when updating the iOS app:
ITMS-90338: Non-public API usage – The app contains one or more corrupted binaries. Rebuild the app and resubmit.,The app references non-public selectors in Align-Dev: isActivated. 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/Apple App update error:ITMS-90338 Non-public API usage
Why Error “TMS-90338: Non-public API usage” is Seen?
Error “TMS-90338: Non-public API usage” is seen basically because of technical issues from Apple backend itself.
There isn’t much to do from your side to fix the error “TMS-90338: Non-public API usage” except waiting to get error fix from Apple technical team itself. As Apple team is aware about the issue and trying to fix the error.
How to Fix “TMS-90338: Non-public API usage” Error?
To fix the error “TMS-90338: Non-public API usage”, you have to wait till Apple technical team fix the issue in backend as Apple developer team is aware about the issue already and trying to fix the issue asap.
Even sometime if you attempt to re-publish the application that is currently available on your store (production) with a different build number still the app would be rejected with the same automated message: “TMS-90338: Non-public API usage” error.
So as a fix, just wait for sometime to get error resolved from Apple technical team side and now again try to submit the app with recent update you have done, app will be submitted successfully and error TMS-90338: Non-public API usage will be fixed automatically.