Unrecognized Selector: -[FBSDKLoginManager logInWithReadPermissions:fromViewController:handler:]: - ios

I just updated to Parse SDK 1.9.1 and FBSDK 4.7.1. I haven't changed any code, and all of a sudden when logging into Facebook I've been getting this error:
2015-10-30 13:49:01.392 [2834:809095] -[FBSDKLoginManager logInWithReadPermissions:fromViewController:handler:]: unrecognized selector sent to instance 0x12de5d360
2015-10-30 13:49:01.404 [2834:809095] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FBSDKLoginManager logInWithReadPermissions:fromViewController:handler:]: unrecognized selector sent to instance 0x12de5d360'
*** First throw call stack:
(0x182f60f48 0x197b13f80 0x182f67c5c 0x182f64c00 0x182e68cac 0x1003d254c 0x1003d136c 0x1003d11f0 0x100241758 0x100247578 0x100247de0 0x1002ec864 0x1002f08cc 0x1002f0618 0x1002ed504 0x1002f1c68 0x1002a1868 0x10012ec5c 0x10012edcc 0x1887a2f24 0x1887a2994 0x1887aaedc 0x1887b10c0 0x1887b04c4 0x18879af14 0x18879ab9c 0x18cd7f7c4 0x18cd7fb44 0x182f18544 0x182f17fd8 0x182f15cd8 0x182e44ca0 0x18e080088 0x18855cffc 0x10013071c 0x1983628b8)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
I'm not using logInWithReadPermissions:fromViewController as that wasn't available in the previous SDKs I had. I think Facebook just added that in, but it's not covered by the Parse SDKs. I'm using class func logInInBackgroundWithReadPermissions(permissions: [String]?, block: PFUserResultBlock?).
So it looks like I'm missing that viewController parameter but Parse says nothing about it. What should I do? Thanks!

Related

iOS App is crashing due to NSInvalidArgumentException - [_NSConcreteBlockSinkObservation superlayer] error

Here is the detailed error description that I am receiving in debugger bar
*** Terminating app due to uncaught exception
'NSInvalidArgumentException', reason:
'-[_NSConcreteBlockSinkObservation superlayer]: unrecognized selector
sent to instance 0x6000005a4000'
Why this is happening and what will be the solution to it?
Update:
I tried to remove some lines of code for testing, then I found another error like below
[__NSDictionaryM superlayer]: unrecognized selector sent to instance
0x6000008e8ee0

When Navigate to the specific UIViewcontroller across any event the App is Crashing in iOS 11 only

When I Navigate the specific UITableView called "InvoiceViewController" from HomeViewController by didSelectRowAtIndexPath and from "TimerViewController" by sliding Slider Action. App Crashing and the compiler, throwing following error.
2017-10-30 14:57:25.181311+0400 FixtrProvider[3667:1496216] desc: -[UIView adjustedContentInset]: unrecognized selector sent to instance 0x102d16010
2017-10-30 14:57:25.181369+0400 FixtrProvider[3667:1496216] name: NSInvalidArgumentException
2017-10-30 14:57:25.181402+0400 FixtrProvider[3667:1496216] user info: (null)
2017-10-30 14:57:25.181466+0400 FixtrProvider[3667:1496216] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIView adjustedContentInset]: unrecognized selector sent to instance 0x102d16010'
*** First throw call stack:
(0x18575fd38 0x184c74528 0x18576d1f8 0x18ef27cc4 0x1857656e4 0x18564b0dc 0x18eefe628 0x18eefe3f0 0x18eefdbc0 0x18eefd8f0 0x18ec18964 0x18ecf4e48 0x18ec16e04 0x18ec16a34 0x18ec1695c 0x18eb6d000 0x18973d0b4 0x189741194 0x1896aff24 0x1896d6340 0x18eb62884 0x1857078b8 0x185705270 0x18570582c 0x1856262d8 0x1874b7f84 0x18ebd3880 0x100e6a47c 0x18514a56c)
libc++abi.dylib: terminating with uncaught exception of type NSException
Properties of the invoiceViewController
Please help me to find out the issue that caused only in iOS 11 devices.
Try to rename contentScrollView in line 28 to another name or remove outlet.

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

I've updated to Parse 1.9.1, Facebook SDK v4.x, iOS 9, Swift 2, and Xcode 7. Didn't change any code and added my .plist keys for LSApplicationQueriesSchemes and App Transport Security Settings.
Now, I can't log into Facebook using class func logInInBackgroundWithReadPermissions(permissions: [String]?, block: PFUserResultBlock?) because I get this error:
2015-10-30 15:24:22.433 [2905:830174] -[FBSDKLoginManager logInWithReadPermissions:fromViewController:handler:]: unrecognized selector sent to instance 0x15ee75d60
2015-10-30 15:24:22.437 [2905:830174] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FBSDKLoginManager logInWithReadPermissions:fromViewController:handler:]: unrecognized selector sent to 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 with uncaught exception of type NSException
I'm not using IBuilder so I don't have anything that's not connected in my storyboard, it looks like I'm just missing that fromViewController parameter. Facebook briefly mentions it in the changelog, but the method isn't available in the ParseFacebookUtilsV4.framework and nothing like it exists for use with Parse.
What am I missing here? Why am I getting this exception everytime I log in and how can I fix it?

Error library libUartLib.a (print Bluetooth)

Has anyone developed with the libUartLib.a library?
Because I have the following error:
-[CBCentralManager retrieveConnectedPeripherals]: unrecognized selector sent to instance 0x15e868d0
2015-10-02 17:13:29.265 DAPPER[2639:1705276] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CBCentralManager retrieveConnectedPeripherals]: unrecognized selector sent to instance 0x15e868d0'
*** First throw call stack:
(0x27a5186b 0x394bedff 0x27a57035 0x27a54c8f 0x279842b8 0x1018a3 0x27714a55 0x22cdbf 0x22cdab 0x231829 0x27a14595 0x27a12a8f 0x279651e9 0x27964fdd 0x30bc9af9 0x2bbca18d 0x1002b9 0x39be9873)
libc++abi.dylib: terminating with uncaught exception of type NSException
If you refer to the documentation you will that that method was deprecated in iOS 7 and has been removed in iOS 9. The replacement is retrieveConnectedPeripheralsSithServices so you either need an updated version of the library or to update it yourself if the author hasn't done so or to identify an alternative.

Chartboost latest iOS SDK crashes when using example code

My iOS game is crashing when using Chartboost, but this wasn't happening 2 days ago, it worked fine then and I haven't changed anything.
I am doing the following:
[Chartboost startWithAppId:#"<<AppID>>" appSignature:#"<<Signature>>" delegate:self];
[[Chartboost sharedChartboost] showInterstitial:CBLocationHomeScreen];
I have removed the AppID and Signature for security reasons, but in my code they are the correct values
This crashes with the error:
2014-06-13 10:09:53.655 3D Line[7903:890b] -[__NSArrayI objectForKey:]: unrecognized selector sent to instance 0x17801e200
2014-06-13 10:09:53.684 3D Line[7903:890b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSArrayI objectForKey:]: unrecognized selector sent to instance 0x17801e200'
*** First throw call stack:
(0x18324af50 0x18f7541fc 0x18324fc04 0x18324d930 0x18316d5dc 0x1001dcf14 0x1001cc430 0x1001cecd0 0x1001cf0d4 0x18fd2c014 0x18fd2bfd4 0x18fd31654 0x18fd2bfd4 0x18fd332b8 0x18fd334fc 0x18fec16bc 0x18fec154c)
libc++abi.dylib: terminating with uncaught exception of type NSException
I think it is to do with the JSON sent back from Chartboost. Is this happening for anyone else?
We just released a live fix for this. You do not have to update your SDK to get the fix, it's already there :)

Resources