Apple Store rejects app

Ernesto Giannotta erne at apimac.com
Sun Jan 23 06:25:26 CST 2011


Hi Ruslan,

got this review from Apple complaining that my app uses non public APIs:

> The following non-public APIs are included in your application:
> ucol_equals
> uprv_getDefaultLocaleID

I can't find those calls anywhere in my app or inspectiong your libraries, but I suspect they could be used in libvkernel somewhere.

Googling for these functions I found these references in ICU 4.6:

> putil.h file references:
> 
> const char* uprv_getDefaultLocaleID	(	void 	 )	
> Please use uloc_getDefault() instead.
> 
> Return the default locale ID string by querying ths system, or zero if one cannot be found. This function can call setlocale() on Unix platforms. Please read the platform documentation on setlocale() before calling this function.
> 
> Returns:
> the default locale ID string
> Internal:
> Do not use. This API is for internal use only.

> ucol.h file references
> 
> UBool ucol_equals	(	const UCollator * 	source,
> const UCollator * 	target 
> )		
> Check whether two collators are equal.
> 
> Collators are considered equal if they will sort strings the same. This means that both the current attributes and the rules must be equivalent. Currently used forRuleBasedCollator::operator==.
> 
> Parameters:
> source	first collator
> target	second collator
> Returns:
> TRUE or FALSE
> Internal:
> Do not use. This API is for internal use only. ICU 3.0


do you think this may be the case, and can it be fixed fast?

Thanks for listening.


Cool Runnings,
Erne.



More information about the Valentina mailing list