SKLabelNode error , crash only iOS7 - ios7

I start my project crashes immediately on ios7 , with the following error , but I can not understand how to solve .
2014-12-08 18:29:07.605 MyProject[1293:613] +[SKLabelNode nodeWithFileNamed:]: unrecognized selector sent to class 0x10c6273a0
2014-12-08 18:29:07.608 MyProject[1293:613] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[SKLabelNode nodeWithFileNamed:]: unrecognized selector sent to class 0x10c6273a0'

As you can see in the image bellow the method nodeWithFileNamed: is available in iOS 8.0 and above, this is why your app is crashing on a lower iOS version.

Related

App crashes on iOS15.2 <ESTabBarController: 0x7fb60688da00>, which is not a kind of UITabBarController.' iOS 15.2

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-tabBarController must return an instance of a UITabBarController subclass. <MMTabViewController: 0x7fb601727d40> returned <ESTabBarController: 0x7fb60688da00>, which is not a kind of UITabBarController.'
terminating with uncaught exception of type NSException
CoreSimulator 783.5 - Device: iPhone 13 (FF523057-CBC8-4BD0-8315-6F674C6EB86B) - Runtime: iOS 15.2 (19C51) - DeviceType: iPhone 13
It was working fine till iOS 15. Issue sttarted when i run my project on iOS 15.2.
It is hard to tell from question but ESTabBarController is this library https://github.com/eggswift/ESTabBarController ?
Probably this library has a problem with the new iOS or you updated that library with pod install and now something is broken inside it.
[self customizeTabBarForController:_tabBarController];
[self.view addSubview:_tabBarController.view];
[_tabBarController didMoveToParentViewController:self];
use this in tabbarviewcontroller

NSInvalidArgumentException using SFML on macOS

I am trying to build the Pong example that is distributed with SFML. I am using the latest macOS.
The code compiles, however when I launch I get the following error:
pong[14920:316603] ***
Terminating app due to uncaught exception
'NSInvalidArgumentException', reason:
'-[SFOpenGLView updateCursorGrabbed]: unrecognized selector sent to instance 0x7fa02948e890'
...
I am not familiar with Objective-C/C++, so I have the following questions:
What does this error mean?
How do I know what the valid NS arguments are?
Why is SFML trying to use invalid arguments; do I need to update?

application which was running fine on ios-9.3 but when i run it on anydevice with IOS-10 onwards it crashes at random points

I have an application which was running fine on ios-9.3 but when i run it on anydevice with IOS-10 onwards it crashes at random points (crashes at different points every time)
I am working in objective-C with Xcode-8
Here is my error log - Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle (loaded)' with name '3pB-ff-s9x-view-jo5-RS-cHl' and directory 'Main.storyboardc''
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle (loaded)' with name 'QuestionTableViewCell''
I tried a few things
- Checked the buildphase bundles resources (all xib file are present there)
- removed all the xib refernces and add them back to project
Its very frustarting please help me
I can not able to comment because of low rep. so writing here as an answer,
for exact solution you can search it in your storyboard by finding this "3pB-ff-s9x-view-jo5-RS-cHl", it will navigate you on exact on that control on storyboard which gives problem.
I hope it will helps you,
Thanks.

Xcode 8 crashes all the time

I open my project(mac app) in xcode, i launch the simulator, everything works fine. If i enter some specific characters in a textfield, xcode crashes with the following report but the simulator keeps working.
I have uninstalled and installed xcode. i deleted the developer folder, nothing of these resolved the problem.
Any ideas why is this happening?
Crashed Thread: 0 Dispatch queue: appendConsoleItemLock
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]

Thread 1: Signal SIGABRT in Xcode

Getting error while running App in Xcode and shows error like this
"terminating with uncaught exception of type NSException"
looking for your help