FBSDKLoginKit not redirect my app after login and confirm page

I'm integrating Facebook SDK 4.15.1, using Swift 3.0 in Xcode 8.0

I have followed all the steps mentioned here in link Getting started with iOS, I'm able to login to Facebook and make authorizations using the Safari browser but after that control is not returning to my app and a blank page is shown. But when I press done button in Safari browser the delegate method

didCompleteWith result:
gets called with error
OAuthException
. Also the
OpenURL
method never get called in my application. I also verified my property list file and the app id thoroughly, no error in bundle identifiers or in app id.

The blank page is not shown in devices < iOS 9.0 and works perfectly as expected.


The same scenario is replicated in Google Plus integration as well. The Open URL method never get called to redirect to my app.

Issue with Xcode 8/Swift 3.0? As it supports lower versions.

FBSDKLoginKit not redirect my app after login and confirm page
 
 
Q