Today, I tried to submit an update to my app to the store using Xcode 5
and it gave the the warning The app references non-public selectors in Payload/<AppName>.app/<AppName>: setAttribution:
. Before, it worked just fine, the last update was on August.
I'm using Facebook SDK 3.2
library. What could be the problem? Thanks!
Try downloading the latest SDK version, Facebook says they have addressed this https://developers.facebook.com/bugs/273730516072926
Apple will give warnings for any methods or variables if those are declared with same name in our application. But if those warnings are not critical then we don't have to worry about it. After all we can also provide a name which are meaningful to read :-)
We can check these kind of warnings threat with some utility apps like AppScanner. It will display warnings in red if we have to address it before submitting app otherwise we can neglect all other warnings.
Also discovered that if you replace
fbProxy.userInfo.id
in your code with[fbPoxy.userInfo objectForKey:@"id"]
then the warnings will go away.Naughty Facebook for using a keyword as a property name!