Xcode5 : The app references non-public selectors in Payload/.app/: setAttribution:

前端 未结 4 1993
日久生厌
日久生厌 2020-12-10 06:22

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/<

相关标签:
4条回答
  • 2020-12-10 06:42

    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!

    0 讨论(0)
  • 2020-12-10 06:51

    Try downloading the latest SDK version, Facebook says they have addressed this https://developers.facebook.com/bugs/273730516072926

    0 讨论(0)
  • 2020-12-10 06:58

    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.

    0 讨论(0)
  • 2020-12-10 06:59
    To remove warning "the app references non-public selectors in payload: birthday",
    
    While getting FBUser detail from (NSDictionary<FBGraphUser>*)user
    
    instead of using 
    NSString *FBDoB = user.birthday;
    
    Use this:
    NSString *FBDoB = [user valueForKey:@"birthday"];
    
    Its Done, You will get the message "Validation Successful"!!!!
    
    0 讨论(0)
提交回复
热议问题