Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

App rejected under iOS 7. Use of non-public selectors. #42

Closed
ghost opened this issue Sep 28, 2013 · 5 comments
Closed

App rejected under iOS 7. Use of non-public selectors. #42

ghost opened this issue Sep 28, 2013 · 5 comments

Comments

@ghost
Copy link

ghost commented Sep 28, 2013

I am using the latest iOS SDK (1.3.3). When validating the app before submission, I am presented with the warning: "The app references non-public selectors in Payload/App.app/Appname: id, setId".

I searched my project using terminal and the command,
$ find . | grep -v .svn | grep ".a" | grep -v ".app" | xargs grep setId

This returns a single result in my project being the libPayPalMobile.a file.
What do I do here as I need to update my app ASAP?

@dgoldman-pdx
Copy link
Contributor

@hacksaw6 that is disturbing! However, I'm not sure that the problem actually lies in our library.

If you change your grep command slightly, to this:

$ find . | grep -v .svn | grep ".a" | grep -v ".app" | xargs grep -a setId

you should see how the string setId actually appears in our library. What I see when I try that grep command directly on libPayPalMobile.a is this: vconcatsetIdentitytracesrc.dims. Clearly, this is not actually a reference to a selector named setId.

Do you see something different?

Otherwise, if you search all of your app's source files, do you find any occurrences of either setId or .id =? (The latter would reflect an instance of @property ... id -- whose automatically-generated setter would, of course, be setId.)

@ghost
Copy link
Author

ghost commented Sep 28, 2013

Thanks for the help.
You were right, it was the facebook framework that was causing the issues.
It took my whole Saturday but I figured it out.

Thanks again.

@ITOjohanhernandez
Copy link

Hacksaw6, how did you solve it?

@ghost
Copy link
Author

ghost commented Feb 22, 2014

I ended up completely removing the Facebook framework.

@ITOjohanhernandez
Copy link

jejeje ok thanks

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

No branches or pull requests

2 participants