I applied the following link text.
We run the application on the iPhone via iTunes like you did.
But when we upload it to the Apple Store, Apple returned us by the following message.
2.5: Apps that use non-public APIs will be rejected
We found the following non-public APIs in your app:
Is there a solution for this?
Looks like a debug build of your application was submitted.
You have to "Export Release" a build of your application specifically for App store submission. Look at Step 4, sub-step 3 in "Package for distribution".
Can you confirm if you picked "Final release package for app store" in "Export Release Build"?