The app references non-public selector in id (Facebook SDK iOS)

前端 未结 8 1926
清歌不尽
清歌不尽 2020-11-30 03:29

I was having this warning when submitting my app with Application Loader.

The app references non-public selector in MyApp : id

This warning

8条回答
  •  春和景丽
    2020-11-30 04:26

    The validation warnings are also present in v3.13. I don't know if this will work for other people but he's a quick workaround that got rid of the error. In FBGraphUser.h around line 41 I changed...

    @property (retain, nonatomic) NSString *id;

    to

    @property (retain, nonatomic) NSString *FBUserID; 
    

    I was also getting the same validation warning about setProfileId so I went to FBProfilePictureView.h and changed profileID on line 54 & 76 to FBID.

    I then updated my FBLoginView information in my game's ViewController to reflect the changes. Everything FB related still seems to work in my app and it passed the Application Loader validation.

提交回复
热议问题