I am getting a strange error when I submit my application via application loader tool.
The resulting API analysis file is too large. We were unable to validate your API usage prior to delivery. This is just an informational message.
The application gets submitted to iTunes Connect and I am able to test it via TestFlight.
What is the reason behind this error? Also, is there a risk of my app getting rejected because of this ?
Copy of the error message is below.
As it mentions already, it's just an informational message. You don't need to worry about rejection because of this.
What it means is that it cannot do API analysis before upload. It does this analysis to check if you use any restricted API's from the SDK. So it could warn you and allow you to fix it before uploading. Since it's too large, you will get the warnings (if any) about API usage by email within half an hour or so after submission since the analysis will be done on the Apple servers.