ios - -[FBSDKLoginManager logInWithReadPermissions:fromViewController:handler:]: unrecognized selector sent to instance -


i've updated parse 1.9.1, facebook sdk v4.x, ios 9, swift 2, , xcode 7. didn't change code , added .plist keys lsapplicationqueriesschemes , app transport security settings.

now, can't log facebook using class func logininbackgroundwithreadpermissions(permissions: [string]?, block: pfuserresultblock?) because error:

2015-10-30 15:24:22.433 [2905:830174] -[fbsdkloginmanager loginwithreadpermissions:fromviewcontroller:handler:]: unrecognized selector sent instance 0x15ee75d60 2015-10-30 15:24:22.437 [2905:830174] *** terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[fbsdkloginmanager loginwithreadpermissions:fromviewcontroller:handler:]: unrecognized selector sent instance 0x15ee75d60' *** first throw call stack: (0x182f60f48 0x197b13f80 0x182f67c5c 0x182f64c00 0x182e68cac 0x1003de54c 0x1003dd36c 0x1003dd1f0 0x10024d8dc 0x100253578 0x100253de0 0x1002f8864 0x1002fc8cc 0x1002fc618 0x1002f9504 0x1002fdc68 0x1002ad868 0x10013ade0 0x10013af50 0x1887a2f24 0x1887a2994 0x1887aaedc 0x1887b10c0 0x1887b04c4 0x18879af14 0x18879ab9c 0x18cd7f7c4 0x18cd7fb44 0x182f18544 0x182f17fd8 0x182f15cd8 0x182e44ca0 0x18e080088 0x18855cffc 0x10013c8a0 0x1983628b8) libc++abi.dylib: terminating uncaught exception of type nsexception 

i'm not using ibuilder don't have that's not connected in storyboard, looks i'm missing fromviewcontroller parameter. facebook briefly mentions in changelog, method isn't available in parsefacebookutilsv4.framework , nothing exists use parse.

what missing here? why getting exception everytime log in , how can fix it?


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -