You are missing some of the necessary frameworks:
AdSupport.framework
Account.framework
Social.framework
BOOL displayedNativeDialog = [FBNativeDialogs presentShareDialogModallyFrom:self initialText:self.shareText image:nil url:nil handler:^(FBNativeDialogResult result, NSError *error) { if (error) { NSLog(@"error:%@, %@", error, [error localizedDescription]); } else { if (result == FBNativeDialogResultSucceeded) { NSLog(@"handle success"); } else { NSLog(@"user cancel"); } } }]; if (!displayedNativeDialog) { }
source share