Black screen after build on a iOS 3 project - ios

I have this iOS project for the iPhone written in Xcode 3.2.5 which worked fine under the simulator. But it doesnt work on the latest version of Xcode for some reason. I get this error when I compile it:
pinField is a text field by the way.
Any idea whats going on?
2012-08-29 01:54:46.232 Proj[3545:c07] * Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key pinField.'
* First throw call stack:
(0x18a9022 0x127dcd6 0x18a8ee1 0xd3022 0x44f6b 0x44edb 0x5fd50 0x5a571a 0x18aadea 0x18147f1 0x5a426e 0x5a5eb7 0x382ce1 0x382ff8 0x38217f 0x391183 0x391c38 0x385634 0x1d9bef5 0x187d195 0x17e1ff2 0x17e08da 0x17dfd84 0x17dfc9b 0x381c65 0x383626 0x1d8a 0x1cd5)

Related

Error: Terminating app due to uncaught exception 'NSUnknownKeyException'

After run application and click button, which is connected to next controller I get this error:
2016-04-26 12:49:32.743 Kalkulator[7401:159800] Missing proxy for identifier UpstreamPlaceholder-oFL-gV-w1Q
2016-04-26 12:49:32.744 Kalkulator[7401:159800] Missing proxy for identifier UpstreamPlaceholder-ufI-Y0-ejo
2016-04-26 12:49:32.753 Kalkulator[7401:159800] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key searchAnything.'
I don't have (and I didn't have) any "searchAnything". searchAnything is in another group/project. There I don't have any error.
Solutions from:
Terminating app due to uncaught exception 'NSUnknownKeyException' : iOS app crash
and
What does this mean? "'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X"
didn't help me.
I don't know how to add all project here so I sent my mini-project-from-tutorial to sendspace
Go to storyboard and check whether the outlet connection is with Exclamation symbol if so remove it and then give proper connection to get it done.You have to select the appropriate viewcontroller which is getting crash.
This is because some outlet in the ViewController that you loading on click of button is not perfectly set. Please check for the following -
Main view outlet may not set
Any of the UIObject, may have double outlet(may be you change the object name and format to remove last outlet from the connection Inspector)
Push segue is deprecated from iOS 8.0 and later.
Temporary solution:
Change your Deployment Target to 9.0 and it will work.
Permanent Solution:
Create a new Xcode project copy all files except storyboards from existing project to new project and design the storyboard as per the existing one from the beginning.set your deployment target to iOS 8.0

Swift 2.0 NSPlaceholderDictionary attempt to insert nil object from objects[0]

I ran into a problem which I seem to can't fix.
Whenever I try to run my app (XCode 7 BETA 2) on my device (iOS 9 BETA 2) it crashes at AppDelegate with the following error:
2015-06-24 04:12:46.769 eSports Center 2[1472:96321] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]'
*** First throw call stack:
(0x18433738c 0x1989dbf2c 0x184224da8 0x184224c40 0x100204efc 0x10020508c 0x1001fc968 0x1002027c8 0x18422d360 0x18422d1d0 0x100201f74 0x1001fc3f8 0x1898be414 0x1890f23c0 0x1890ed008 0x1898d48c4 0x1002281bc 0x1898be414 0x1890f23c0 0x1890ed008 0x1898d48c4 0x189981188 0x18997ec00 0x189997048 0x189996d58 0x189996a60 0x1898fc19c 0x1898fa518 0x18998a974 0x1899808c0 0x18997fa90 0x18997f6b8 0x18997f620 0x1898be414 0x1890f23c0 0x1890ed008 0x1890ecec8 0x1890ec594 0x1890ec2e8 0x1890e5ab8 0x1842ee39c 0x1842ec114 0x1842190f0 0x18992f838 0x18992a5f0 0x1001192ac 0x19921a8b8)
libc++abi.dylib: terminating with uncaught exception of type NSException
When I try to run it on the Simulator everything is fine. The App itself is a recode of my current project in Swift 2.0 with some pods (for the first time).
It includes 3 libs and some basic UI stuff, I tried to setup the first TabController tab.
Someone has an idea of how to fix them?
Everything Is working now. One library I'm using, tried to load a Font which wasn't available on my iPhone but on my Simulator (?).
Thanks for all the help, Breakpoint and stepping through the Library code did the trick!

My app crashing immediately when compiled

My app crashing immediately when compiled, below is the error I'm receiving.
2013-07-02 18:39:20.272 RecipeV6[41361:c07] *** Terminating app due
to uncaught exception 'NSUnknownKeyException', reason:
'[ setValue:forUndefinedKey:]: this class is
not key value coding-compliant for the key search.' *** First throw
call stack: (0x1c97012 0x10d4e7e 0x1d1ffb1 0xb80e41 0xb025f8 0xb020e7
0xb2cb58 0x236019 0x10e8663 0x1c9245a 0x234b1c 0xf97e7 0xf9dc8 0xf9ff8
0xfa232 0xfa4da 0x1118e5 0x1119cb 0x111c76 0x111d71 0x11289b 0x1129b9
0x112a45 0x21820b 0x692dd 0x10e86b0 0x2293fc0 0x228833c 0x2293eaf
0x1082bd 0x50b56 0x4f66f 0x4f589 0x4e7e4 0x4e61e 0x4f3d9 0x522d2
0xfc99c 0x49574 0x4976f 0x49905 0x52917 0x1696c 0x1794b 0x28cb5
0x29beb 0x1b698 0x1bf2df9 0x1bf2ad0 0x1c0cbf5 0x1c0c962 0x1c3dbb6
0x1c3cf44 0x1c3ce1b 0x1717a 0x18ffc 0x2b2d 0x2a55 0x1)
libc++abi.dylib: terminate called throwing an exception
Can anyone help me debug this or point me in the right direction?
Check all UI elements (right mouse click) and IBOutlets connected in your XCode. Some reference problems will be assigned with a Warning icon (see Figure). Clean it, solve the references, misses classes or objects and rebuild the code!

iOS runtime exception

I am creating an iOS 6 application with storyboard and ARC.
Yet I receive this runtime exception:
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<ViewController 0x71b4c00> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key switchButton.'
*** First throw call stack:
(0x1c8e012 0x10cbe7e 0x1d16fb1 0xb78711 0xaf9ec8 0xaf99b7 0xb24428 0x2300cc 0x10df663 0x1c8945a 0x22ebcf 0xf3e37 0xf4418 0xf4648 0xf4882 0x43a25 0x43dbf 0x43f55 0x4cf67 0x10fcc 0x11fab 0x23315 0x2424b 0x15cf8 0x1be9df9 0x1be9ad0 0x1c03bf5 0x1c03962 0x1c34bb6 0x1c33f44 0x1c33e1b 0x117da 0x1365c 0x25dd 0x2505)
libc++abi.dylib: terminate called throwing an exception
(lldb)
Before there been 'switchButton' but I have removed it from GUI, but yet it is pointing to it. I performed cleaning of project too.
Has been fixed by removing switchButton from Outlets palet.

iOS nib issue, causing crash

I have a rather peculiar error in my app
It only just started happening after it being fine for so long, all my nibs are wired up correctly from what I can see
Any other advice would be greatly appreciated
The error is as follows
2012-07-06 15:07:22.761 xxxxx[681:f803] * Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key MyTableView.'
* First throw call stack:
(0x1907022 0x1b64cd6 0x1906ee1 0x11df022 0x1150f6b 0x1150edb 0x116bd50 0xa5371a 0x1908dea 0x18727f1 0xa5226e 0xa53eb7 0x830ce1 0x830ff8 0x83017f 0x83f183 0x83fc38 0x833634 0x1f4cef5 0x18db195 0x183fff2 0x183e8da 0x183dd84 0x183dc9b 0x82fc65 0x831626 0xe544 0x2255)
terminate called throwing an exception
If theres anything I can do to provide extra please let me know
Thanks all
This means that you have an outlet defined somewhere in your xib called 'MyTableView' and there is no property by that name.
Check all of your outlets!

Resources