marcoarment / BugshotKit

iOS in-app bug reporting for developers and testers, with annotated screenshots and the console log.
MIT License
1.36k stars 129 forks source link

Non-public API usage #44

Closed wjiuxing closed 8 years ago

wjiuxing commented 8 years ago

As mentioned in the title, this leads to a rejection by Apple when I tried to submit a TestFlight Build. I saw this in the section For development and beta tests only. I have turned to the TestFlight from Ad-hoc for long ago. What a pity if this lib could not be used with TestFlight. Is there any alternative way to workaround this private API? Could you have a look at it, please? Thanks very much.

Here is a party of the E-mail from Apple:

To process your delivery, the following issues must be corrected:

Non-public API usage:

The app references non-public selectors in kpb: _gsEvent, attentionClassDumpUser:yesItsUsAgain:althoughSwizzlingAndOverridingPrivateMethodsIsFun:itWasntMuchFunWhenYourAppStoppedWorking:pleaseRefrainFromDoingSoInTheFutureOkayThanksBye: 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.

If you think this message was sent in error and that you have only used Apple-published APIs in accordance with the guidelines, send the app's nine-digit Apple ID, along with detailed information about why you believe the above APIs were incorrectly flagged, to appreview@apple.com. For further information, visit the Technical Support Information page.