"Non-public API Usage" Leading to app getting rejected by Apple on TestFlight

Please advise how to solve this, or if this is something for which I will have to reach out to Apple?

Hey @appdeveloper,

Thanks for using the dev forum!

That is strange, I have never encountered this one before. Please reach out to Apple, and let us know if there is anything we can do to assist.