Undocumented API Rejection

4 views
Skip to first unread message

Jim Heising

unread,
Mar 19, 2010, 6:33:32 PM3/19/10
to Seattle iPhone Development
Hey all, I'm wondering if any of you might be able to help me out
here. We just got an app rejection from Apple with the following:

"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 OBJC_IVAR_
$_NSObject.isa.


This is a new one for us, and has me scratching my head. I've done a
search through the code and can't find a reference to this anywhere.
We just recently upgraded our Facebook connect library-- could it be
in there? Any help would be greatly appreciated. Thanks!

-jim

Matt Woodward

unread,
Mar 19, 2010, 6:54:53 PM3/19/10
to seattle...@googlegroups.com, Seattle iPhone Development
Jim,

I think you'll find that some code is assigning the isa member of one
of your classes. This is a quick way to make an object act like a
different object ("swizzling," I believe they call it).

I had a rejection due to similar code in a different library. Try
searching all of the code (including all open source & fbconnect) for
'isa'.

Matt

> --
> You received this message because you are subscribed to the Google
> Groups "Seattle iPhone Development" group.
> To post to this group, send email to seattle...@googlegroups.com.
> To unsubscribe from this group, send email to seattle-iphon...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/seattle-iphone?hl=en
> .
>

Nick Fox

unread,
Mar 19, 2010, 7:06:23 PM3/19/10
to seattle...@googlegroups.com
An iphone dev chat group said the same thing about the isa member. You mentioned facebook. You're not using Joe Hewitt's three20 library are you? I heard that had some problems...

Nick

Jim Heising

unread,
Mar 20, 2010, 8:59:48 AM3/20/10
to Seattle iPhone Development
Found it. KissXML is the culprit.

self->isa = [DDXMLElement class];

Thanks for the help!

-jim

On Mar 19, 3:54 pm, Matt Woodward <mdw...@gmail.com> wrote:
> Jim,
>
> I think you'll find that some code is assigning the isa member of one  
> of your classes.  This is a quick way to make an object act like a  
> different object ("swizzling," I believe they call it).
>
> I had a rejection due to similar code in a different library. Try  
> searching all of the code (including all open source & fbconnect) for  
> 'isa'.
>
> Matt
>

Matt Woodward

unread,
Mar 20, 2010, 10:50:48 AM3/20/10
to seattle...@googlegroups.com
KissXML got me too (I couldn't remember which when I iPhoned that answer in). Robbie fixed it, so you should be a source pull away. There's some debate as to whether this is actually an "undocumented API" at all...

http://groups.google.com/group/kissxml/browse_thread/thread/ef2f3190e8665bde/b7880b9d8a99fa6e?lnk=gst&q=swizzling#b7880b9d8a99fa6e

Matt

Jim Heising

unread,
Mar 20, 2010, 11:05:43 AM3/20/10
to Seattle iPhone Development
Yeah I got the latest source and I think we're good now (hopefully).

On Mar 20, 7:50 am, Matt Woodward <mdw...@gmail.com> wrote:
> KissXML got me too (I couldn't remember which when I iPhoned that answer in).  Robbie fixed it, so you should be a source pull away.  There's some debate as to whether this is actually an "undocumented API" at all...
>

> http://groups.google.com/group/kissxml/browse_thread/thread/ef2f3190e...

Reply all
Reply to author
Forward
0 new messages