Game Development Community

Heads up! App rejected for deprecated functions in Apple's API's.

by Sven Bergström · in iTorque 2D · 11/16/2009 (12:17 pm) · 22 replies

TAKE NOTE!

Eyal has made me aware of two of his games being rejected based on "a private API", which is funny because its actually an Apple OS API function that has merely been deprecated - they just like those words at the moment it seems.

From the apple docs :
Quote:
"Special Considerations

The copyPath:toPath:handler:, movePath:toPath:handler:, removeFileAtPath:handler:, and linkPath:toPath:handler: methods have all been deprecated as of Mac OS X v10.5."

Link!

So, according to that link, and Eyal informing me that "removeFileAtPath" being the offender i will submit a patch asap, within the next hour hopefully.

Edit : Problem solved.


The mirrors were no longer needed. you may get this fix under your
My Account / My Products downloads for iTGB/T2di

To install : Simply overwrite/merge the file with your own copy inside of engine/source/platformiPhone/iPhonePlatform.mm


For reference : It really sucks finding out about these deprecations via a rejected app! If you hear/see/feel anything online in the crowds please forward all you information to the community. Also noted to watch the changelogs vigorously for Apple notifications.

Hope there is no other rejections/inconvenience!
Page«First 1 2 Next»
#21
06/19/2010 (2:05 pm)
Apple must have some pretty good screening tools if they find things like that.
#22
06/19/2010 (3:00 pm)
not really, they can just let a simple parser run over the stuff (its really not hard at all)

And to my knowledge its no longer required since 1.3.1 but if you want to be 100% sure just search for one of the deprecated functions with cmd-shift-f in xcode
Page«First 1 2 Next»