-[UIDevice imei]: unrecognized selector sent to instance 0x1f566990
*** Terminating app due to uncaught exception 'NSInvalidArgumentException',
reason: '-[UIDevice imei]: unrecognized selector sent to instance 0x1f566990'
*** First throw call stack:
(0x376962a3 0x359a697f 0x37699e07 0x37698531 0x375eff68 0xb7465 0x38986595 0x389db13b
0x389db081 0x389daf65 0x389dae89 0x389da5c9 0x389da4b1 0x389c8b93 0x389c8833 0xb34fd
0x38a520ad 0x38a5205f 0x38a5203d 0x38a518f3 0x38a51de9 0x3897a5f9 0x38967809 0x38967123
0x37b1a5a3 0x37b1a1d3 0x3766b173 0x3766b117 0x37669f99 0x375dcebd 0x375dcd49 0x37b192eb
0x389bb301 0xb38d3 0xb3028)
libc++abi.dylib: terminate called throwing an exception
Myxcode version 4.6.2 please help.
There's no method called imei on the UIDevice class as provided by Apple, so when you try to call it you get a crash.
That said, there is such a method in Erica Sadun's UIDevice extensions - perhaps you're reusing code that assumes that they're present - so if you add them to your project then your code should work as you expect.
Related
I've been trying to figure out this bug for a long while, and i can't figure out where the error is (I have a debug point literally everywhere in my code), and I was wondering if I could use the error to find out where it is (ie figure out what instance 0x100b15ad0 is)
Fun Error Below:
2016-10-21 23:09:56.870436 AppName[1992:639323] -[AppName.ScannerView unhighlight]: unrecognized selector sent to instance 0x100b15ad0
2016-10-21 23:09:56.871918 AppName[1992:639323] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AppName.ScannerView unhighlight]: unrecognized selector sent to instance 0x100b15ad0'
*** First throw call stack:
(0x1851001c0 0x183b3855c 0x185107278 0x185104278 0x184ffe59c 0x185be7988 0x1850ae8f4 0x1850ae608 0x1850adec4 0x1850abac0 0x184fda048 0x186a5d198 0x18afb3818 0x18afae550 0x100024994 0x183fbc5b8)
libc++abi.dylib: terminating with uncaught exception of type NSException
I am trying to implement the getting started helloWorld, on XCode 4.6, but I am getting this sigabart. The code is exactly like the apple website. No errors are produced but in runtime I have this:
2013-02-11 12:38:42.594 hellooWorld[1794:c07] *** Terminating app due to uncaught exception 'NSUnknownKeyException',
reason: '[<ViewController 0x75562d0> setValue:forUndefinedKey:]:
this class is not key value coding-compliant for the key greeting.'
*** First throw call stack:
(0x1c91012 0x10cee7e 0x1d19fb1 0xb7ae41 0xafc5f8 0xafc0e7 0xb26b58 0x230019
0x10e2663 0x1c8c45a 0x22eb1c 0xf37e7 0xf3dc8 0xf3ff8 0xf4232 0x433d5
0x4376f 0x43905 0x4c917 0x1096c 0x1194b 0x22cb5 0x23beb 0x15698 0x1becdf9
0x1becad0 0x1c06bf5 0x1c06962 0x1c37bb6 0x1c36f44 0x1c36e1b 0x1117a 0x12ffc
0x267d 0x25a5)
libc++abi.dylib: terminate called throwing an exception
I did delete the connections and connect the label, textfield and button again to view controller.m but get the same result. I connectted the textfiled to the delegate but received the same result.
Can someone help elucidate what is going on?
Check for the linking of objects or methods in your storyboard connections inspector.
When I follow this tutorial, it gives me an error on the [playercontroller release]; line, so I remove it, and then it gives me these errors when I try to run it.
I tried making another app to test the video, and it works seamlessly, but it will not work in my main app. Can anyone help?
And when I reimported the framework, and tried to play the video, it gives me this error:
2012-08-17 11:27:03.174 LYWAM Tour[768:c07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:]: nil string parameter'
*** First throw call stack:
(0x1e15022 0x10fdcd6 0x1dbda48 0x1dbd9b9 0xba253b 0xba24c5 0x54ac 0x1e16e99 0x26314e 0x2630e6 0x309ade 0x309fa7 0x308d8a 0x2882cf 0x2885e6 0x26edc4 0x262634 0x16f7ef5 0x1de9195 0x1d4dff2 0x1d4c8da 0x1d4bd84 0x1d4bc9b 0x16f67d8 0x16f688a 0x260626 0x24cd 0x2435 0x1)
terminate called throwing an exception(lldb)
I take it GVE1ViewController is a class you wrote yourself? Does it definitely implement a method called GrommeVideoExcerpt1? Is what you assigned to the variable actually an instance of GVE1ViewController (or a subclass?) Put in an NSLog to check that it really is an instance of GVE1ViewController.
To do the NSLog, you need a line of the form:
NSLog(#" My controller = %#", myVar);
where myVar is whatever variable you have containing a reference to the GVE1ViewController.
I am just writing code for paypal button as below in ViewDidLoad
UIButton *button = [[PayPal getInstance] getPayButtonWithTarget:self andAction:#selector(payWithPayPal) andButtonType:BUTTON_278x43];
and getting the crash as following
2011-11-17 05:41:39.541 MothProject[654:707] -[PayPal getPayButtonWithTarget:andAction:andButtonType:andButtonText:]: unrecognized selector sent to instance 0x2bd2d0
2011-11-17 05:41:39.548 MothProject[654:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[PayPal getPayButtonWithTarget:andAction:andButtonType:andButtonText:]: unrecognized selector sent to instance 0x2bd2d0'
*** First throw call stack:
(0x328d78bf 0x367411e5 0x328daacb 0x328d9945 0x32834680 0x8f9b 0x311837ff 0x3118fc39 0x3118faa9 0x3118f98f 0x3118f15b 0x3118ef53 0x31183673 0x31183349 0x77ad 0x311fd565 0x31275ce7 0x37a6e943 0x328aba63 0x328ab6c9 0x328aa29f 0x3282d4dd 0x3282d3a5 0x37f6efed 0x31178743 0x2831 0x27c8)
terminate called throwing an exceptionProgram received signal: “SIGABRT”.
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Can't find dlopen function, so it is not possible to load shared libraries.)
I have used implemented all required delegate methods in self, and also used Delegate too,
What is issue, does anyone has idea about it?
I think you need to initialize the instance of PayPal first, using the method
-initializeWithAppID:forEnvironment:
I've got a really annoying problem, and as much as I've searched, I can't find the answer. My app is terminating when I try to view a TableView. The data source and delegate is set to the File's owner, which implements the protocol.
alt text http://grab.by/2IJV
alt text http://grab.by/2IK7
The error I'm getting looks like this:
[Session started at 2010-02-27 16:28:24 +0000.]
2010-02-27 16:28:27.209 Moola[28564:207] Unknown class FirstViewController in Interface Builder file.
2010-02-27 16:28:28.189 Moola[28564:207] *** -[UIViewController tableView:numberOfRowsInSection:]: unrecognized selector sent to instance 0x5005900
2010-02-27 16:28:28.190 Moola[28564:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[UIViewController tableView:numberOfRowsInSection:]: unrecognized selector sent to instance 0x5005900'
2010-02-27 16:28:28.190 Moola[28564:207] Stack: (
40692267,
2469430537,
40961963,
40426854,
40423522,
4542959,
4550376,
4549359,
3202411,
3139508,
3189226,
3176954,
68444159,
68443501,
68441542,
68440628,
68472982,
40444146,
40231701,
40228984,
49023565,
49023762,
2840157,
9184,
9038
)
Finally, here's the implementation file (SettingsController.m) of the SettingsController class:
alt text http://grab.by/2ILu
I'm sure this is a trivial problem for a pro, but I come from a highly web-based background, and only dabbled in C a while a few years back. To be truthful, it's hurting my head.
Thanks,
Jamie
What is FirstViewController as referenced in this disconcerting log line? Could it be some leftover reference that Interface Builder is actually trying to instantiate instead of your SettingsController?
2010-02-27 16:28:27.209 Moola[28564:207] Unknown class FirstViewController in Interface Builder file.
Are you sure that the receiver is indeed a SettingsController? Try
NSLog(#"receiver's type: %#", NSStringFromClass([foo class]));
just before the call that fails (and of course change "foo" to whatever the receiver's actual name is).