allen58992008 / touchcode

Automatically exported from code.google.com/p/touchcode
0 stars 0 forks source link

Tidy is considered private API by Apple reviewers #70

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Thank you for submitting ***** 1.0 to the App Store.  Unfortunately it
cannot be added to the App Store because it is using private APIs.  Use of
non-public APIs, which as outlined in the iPhone Developer Program License
Agreement section 3.3.1 is prohibited:

"3.3.1 Applications may only use Documented APIs in the manner prescribed
by Apple and must not use or call any private APIs."

The following non-public APIs are included in your application:
tidyBufAlloc
tidyBufFree
tidyBufInit
tidyCleanAndRepair
tidyCreate
tidyOptSetBool
tidyParseBuffer
tidyParseString
tidyRelease
tidySaveBuffer
tidySaveString
tidySetCharEncoding
tidySetErrorBuffer
tidySetOutCharEncoding

If you have defined methods in your source code with the same name as the
above mentioned APIs, we suggest altering your method names so that they no
longer collide with Apple's private API to avoid your application being
flagged with future submissions.

Regards,

iPhone Developer Program

Original issue reported on code.google.com by jqu...@gmail.com on 16 Dec 2009 at 12:13

GoogleCodeExporter commented 8 years ago
tidy should be compiled into the app as part of your compile process. If that's 
the case then your app is NOT 
using a private api at all. That doesn't help you very much though.

Can you use TouchXML without tidy support?

If it's absolutely vital to your app it might be possible to create a version 
of tidy that uses different symbol 
names. Not really an optimal solution though.

Original comment by jwight on 16 Dec 2009 at 1:32

GoogleCodeExporter commented 8 years ago
Oh and I would definitely suggest you point out to Apple that this isn't a 
private API but instead a well known, 
3rd party open source library.

Original comment by jwight on 16 Dec 2009 at 1:34

GoogleCodeExporter commented 8 years ago

Original comment by jwight on 16 Dec 2009 at 1:34

GoogleCodeExporter commented 8 years ago
Solution: Do not use libtidy in iOS builds. Closing bug.

Original comment by jwight on 11 Aug 2010 at 3:55