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 :
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.
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!
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!
#2
It compiled with no issues and I'm ready to resubmit.
I'll keep you guys posted as soon as I hear anything.
11/16/2009 (1:46 pm)
Thanks Sven for the very quick fix.It compiled with no issues and I'm ready to resubmit.
I'll keep you guys posted as soon as I hear anything.
#3
I think grepping for "deprecated" in the docset might be an idea.
11/16/2009 (1:50 pm)
Good luck, Eyal :)I think grepping for "deprecated" in the docset might be an idea.
#5
Edit:
It looks like Apple put in place a new layer for screening apps: gizmodo.com/5405978/iphone-apps-have-to-be-approved-by-robots-now-too
11/16/2009 (3:40 pm)
I too just got caught by this, thanks for the quick fix Sven!Edit:
It looks like Apple put in place a new layer for screening apps: gizmodo.com/5405978/iphone-apps-have-to-be-approved-by-robots-now-too
#6
This should be something that gets caught on upload, much like checking if your signatures are correct. If it takes 2 weeks to be rejected based on an automated check, then that's just really.........
11/16/2009 (9:45 pm)
Do you get rejected within hours/days? I submitted an update a week ago and don't know if I should pull it and recompile.This should be something that gets caught on upload, much like checking if your signatures are correct. If it takes 2 weeks to be rejected based on an automated check, then that's just really.........
#7
I agree it should be checked on upload. I think you may be better of reject and resubmit.
11/16/2009 (9:57 pm)
yes, unfortunately it took over two weeks to get rejected, in both cases.I agree it should be checked on upload. I think you may be better of reject and resubmit.
#8
"In Review" November 13
"Ready for Sale" November 16
This update was NOT rejected though it did not contain this new patch...
Let's see what they will say about my other "deprecated" app that is still "Waiting For Review"...
11/17/2009 (6:37 am)
I uploaded an update of my app Strummer itunes.com/apps/strummer:"In Review" November 13
"Ready for Sale" November 16
This update was NOT rejected though it did not contain this new patch...
Let's see what they will say about my other "deprecated" app that is still "Waiting For Review"...
#9
11/17/2009 (7:29 am)
Thanks for the info, Zilla.
#10
"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 non-public API that is included in your application is removeFileAtPath:handler:
11/20/2009 (1:06 pm)
I got rejected due to the use of the deprecated API. Now to submit with the fix :)"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 non-public API that is included in your application is removeFileAtPath:handler:
#11
11/20/2009 (1:15 pm)
at least we don't get sued like the unity users.
#12
11/20/2009 (2:14 pm)
Thanks lin Chear for comfirming there are no others so far (no other deprecations :) )
#13
Edit:
Nevermind, the link is under the Mac version
11/23/2009 (4:19 pm)
Do both, 1.3 beta and 1.2 have the updated file? What was exactly changed in the new file? When I downloaded the new folder, I noticed no change in iPhonePlatform.mm .Edit:
Nevermind, the link is under the Mac version
#14
Thanks again Sven for the quick fix.
11/26/2009 (2:37 am)
War Evolved was rejected because of removeFileAtPath, but it has just been approved. Looks like we are in the clear!Thanks again Sven for the quick fix.
#15
11/26/2009 (3:21 am)
Thanks so much for the confirmation! :)
#17
11/30/2009 (9:46 pm)
Ditto. Chalk Chain was approved after this fix. Cheers!
#18
Edit: ahh, I see this fix in Mac subcategory in My Account / My Products
12/08/2009 (12:36 am)
Hi, I have same problem, our application has been rejected, but I don't see any fix in My Account / My Products? Where is new engine/source/platformiPhone/iPhonePlatform.mm (should I download 1.3 beta and use this file in 1.2?}Edit: ahh, I see this fix in Mac subcategory in My Account / My Products
#19
03/26/2010 (2:17 pm)
Is this still required for 1.3.1?
Torque 3D Owner Ronny Bangsund
Torque Cheerleaders