Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private API conflict #32

Open
kpinkerman opened this issue Oct 25, 2012 · 2 comments
Open

Private API conflict #32

kpinkerman opened this issue Oct 25, 2012 · 2 comments

Comments

@kpinkerman
Copy link

My app was just rejected from Apple with a Private API Conflict in the "elementWithName:" method used in three files: CXMLNode_CreationExtensions.h, CXMLNode_CreationExtensions.m and CXMLElement_ElementTreeExtensions.m. This method will need to be renamed within TouchXML in order for apps using this library to be approved.

@ghost
Copy link

ghost commented Oct 25, 2012

Hi, Thanks for the share.

Is renaming the method in all three pages would be enough or is it going to make problem in other parts of TouchXML? I mean this method only uses in these three pages or other parts need to be aware of this change.

Thanks

@kpinkerman
Copy link
Author

Just renaming the method will fix the problem. Apparently Apple opened up a public API method in the iOS 6 SDK that has that method name. Since I had to resubmit my app to Apple immediately, I just simply renamed it "elementWithNameCXML:" Any other method name that doesn't conflict will work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant