quickblox crash on iPad not iPhone - ios

I tried the chat example codes on 2 device using 2 different OS versions.
iPhone 6 plus(9.1) and iPad mini 1st Gen(8.4).
It works fine on the iPhone while it crashes on the iPad.
Code
(QMChatService.m [line 63])
if ([QBSession currentSession].currentUser != nil) [self loadCachedDialogsWithCompletion:nil];
Console log
2016-02-12 12:09:34.966 samplechat[3859:257361] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** setObjectForKey: object cannot be nil (key: acct)'
*** First throw call stack:
(0x24f94137 0x3370fc77 0x24eaf655 0x1421ef 0x1411ed 0x548e19 0x1410e9 0xcf5fb 0xe8323 0x513bf 0xe85c7 0x548187 0x548e19 0xe8559 0x4e8f5 0x285f474d 0x2869f4e5 0x2869f40d 0x2869e981 0x2869e6b7 0x2869e425 0x2869e3b9 0x285f1bbb 0x280073e5 0x28002c35 0x28002abd 0x2800245f 0x2800224f 0x28858195 0x28858f1d 0x288637a9 0x28857287 0x2ba3dec1 0x24f5a255 0x24f59519 0x24f57cb7 0x24ea39a1 0x24ea37b3 0x28659a57 0x28654635 0x5c165 0x33cddaaf)
libc++abi.dylib: terminating with uncaught exception of type NSException
#edit
I tested on another iPad 2(9.2.1) and its working fine. I think there is a problem with the backwards compatibility.

Related

Terminating app due to uncaught exception 'NSGenericException', reason: 'This coder requires that replaced objects be returned from initWithCoder:'

My iOS application is working fine in iOS 10 and newer version. But when I was trying to run my app on iPad mini with iOS version 9.3.2 then Application is crashing.
I am trying to push a view controller and I am using storyboard for all view controllers.
This is my code for push view controller:
self.performSegue(withIdentifier: "PaymentViewcontrolller", sender: self)
I am getting this is error in console and application is crashing:
2018-10-26 16:21:17.223 Food[592:68727] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'This coder requires that replaced objects be returned from initWithCoder:'
*** First throw call stack:
(0x2447391b 0x23c0ee17 0x24473861 0x28fbb15f 0x28fbadf5 0x28ea3477 0x28ea3b01 0x28fbb10f 0x28fbb0a1 0x28fbadf5 0x28ea2a0b 0x28d55aa3 0x28b28ffb 0x289eea1f 0x28a06e71 0x28b9d1e5 0x28aab4a7 0x28aab1b5 0x28aab12b 0x289eaa73 0x26a82bcd 0x26a7e375 0x26a7e209 0x26a7d6d1 0x26a7d3a5 0x26a76b2b 0x244356c9 0x244339cd 0x24433dff 0x24383229 0x24383015 0x25973ac9 0x28a57189 0x3d8008 0x2402b873)
libc++abi.dylib: terminating with uncaught exception of type NSException
My Xcode version is 9.4.1 and deployment target is iOS 9.2.
I am not able to figure out what is the issue. Already spent whole day for this.

Error in creating Segue in Interface builder in Xcode 9

I am trying to compile my code in Xcode 9 which was perfectly working in Xcode 8.3, now it crashes on Segue from table view to uiviewcontroller.
This is the error message.
2017-10-11 10:44:36.410414-0500 Dev_TenantMoveIn[307:18597] -[PDFViewController initWithCoder:]: unrecognized selector sent to instance 0x1c80111d0
2017-10-11 10:44:36.412182-0500 Dev_TenantMoveIn[307:18597] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[PDFViewController initWithCoder:]: unrecognized selector sent to instance 0x1c80111d0'
*** First throw call stack:
(0x186a0fd38 ........ 0x1863fa56c)
libc++abi.dylib: terminating with uncaught exception of type NSException
Any suggestion would be helpful

Facebook SDK (4.15.1) crashes on Login (iOS8)

I have integrated Facebook SDK(4.15.1) in my app. For iOS9 my app works properly and doesn't crash on user login. If I run the same app on iOS8 device and try to login then app crashes saying:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* setObjectForKey: object cannot be nil (key: logging_token)'
* First throw call stack:
(0x294ad45f 0x37343c8b 0x293cac53 0x11941f 0x119909 0x1198a5 0x123bcb 0x11980b 0x119741 0x1185cf 0x115571 0x2c9fae7f 0x2c9fae21 0x2c9e5c43 0x2c9fa88d 0x2c9fa567 0x2c9f3e31 0x2c9ca759 0x2cc3e2f9 0x2c9c91a9 0x29473fbf 0x294733cf 0x29471a35 0x293bf3b1 0x293bf1c3 0x309ec201 0x2ca2943d 0x976f0 0x378cfaaf)
libc++abi.dylib: terminating with uncaught exception of type NSException
I have cross checked my info.plist and observed all everything is Configured properly.

App crashes on iPad simulator

I am building a universal app. App is working fine for iPhone 5 and iPhone 4(different storyboard) but it crashes when trying to run it for iPad 6.1
This is the error:
-[AccountTableViewController topViewController]: unrecognized selector sent to instance 0xab52620
2013-08-19 21:13:35.527 [6871:c07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AccountTableViewController topViewController]: unrecognized selector sent to instance 0xab52620'
*** First throw call stack:
(0x2131012 0x1c26e7e 0x21bc4bd 0x2120bbc 0x212094e 0x2c1a 0xb68157 0xb68747 0xb6994b 0xb7acb5 0xb7bbeb 0xb6d698 0x2b10df9 0x2b10ad0 0x20a6bf5 0x20a6962 0x20d7bb6 0x20d6f44 0x20d6e1b 0xb6917a 0xb6affc 0x252d 0x2455)
libc++abi.dylib: terminate called throwing an exception
You are calling a UINavigationController method topViewController on a UITableView instance AccountTableViewController.
Without code, it's a little difficult to be more specific, but maybe you want to be calling this method on the UITableView's navigation controller?

Facebook sdk 3.1 on iOS 5?

my app has facebook sdk 3.1 integrated. It works well with iOS 6 but crashes on iOS 5. I get the following error in the console.
2012-11-08 12:57:04.529 FMB[3446:c07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FBSession handleDidBecomeActive]: unrecognized selector sent to instance 0x6977300'
*** First throw call stack: (0x1b54052 0x129bd0a 0x1b55ced 0x1abaf00 0x1abace2 0x695f 0x40922c 0x40aa66 0x419743 0x41a1f8 0x40daa9 0x22adfa9 0x1b281c5 0x1a8d022 0x1a8b90a 0x1a8adb4 0x1a8accb 0x40a2a7 0x40ba9b 0x2ed2 0x2e05) terminate called throwing an exception

Resources