I accidentally deleted View Controller in Main.Storyboard and now I am trying to build and run my game and it says build "Sussess" but it builds Lanch Image Appears and then the screen is white and nothing happens please help me. My game is in appStore already I cant remake it!!!! What should I do?
I have this in debug area!
2014-09-15 02:51:02.680 Greenchick[4300:60b] -[UIView setShowsFPS:]: unrecognized selector sent to instance 0xb599f50
2014-09-15 02:51:02.692 Greenchick[4300:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIView setShowsFPS:]: unrecognized selector sent to instance 0xb599f50'
*** First throw call stack:
I think usually, the file gets deleted from the project but is usually present in the project folder. Check if your view controller is present in the Project folder. If it is present, you can add to your project again.
Related
I am trying to create framework of my existing app which can be added to any other app as a module. In previous version of the app, i don't have any issues creating the framework and adding it to a demo app to test if it works. With newer version of the app, i am having an issue:
2017-04-21 13:59:02.238333-0400 XXX[8320:3762763] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
*** First throw call stack:
(0x1868c2fd8 0x185324538 0x1867a4888 0x1010c3948 0x18c9f1f9c 0x18ca09a28 0x18cb8e2a0 0x18caa8c4c 0x18caa88b4 0x18caa8818 0x18c9ef158 0x189bdf274 0x189bd3de8 0x189bd3ca8 0x189b4f360 0x189b763c0 0x189b76e8c 0x1868709a0 0x18686e628 0x18686ea74 0x18679ed94 0x188208074 0x18ca57130 0x100084860 0x1857ad59c)
libc++abi.dylib: terminating with uncaught exception of type NSException
Any suggestions how to trace back the error inside the embedded framework?
It is happening only with the main View Controllers of the app, not on any off the second level View Controllers which are accessed from these main View Controllers.
I went through the code of the old version and the new version of the embedded framework, i don't see anything major to be different, checked Line by Line the whole code.
Any suggestions?
Thank you codealchimist for the solution, i figure out what i was missing in order to be able to debug it. The solution provided by him solves the problem to be able to debug the app & framework.
I don't have any code implemented in view controller to set the font or attributedLabel. But I'm seeing crash with below reason.
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: -[_SwiftValue pointSize]: unrecognized selector sent to instance 0x610001040ba0
There is another way of debugging issue. When app is crashed, check left panel and you will observe threads stack. In that find out Obj_exception_throw select that and use your logging area to run command po $arg1. This may give you the correct reason for crashing.
Or else, you can try using Application Unit tests for verifying all your IBOutlets and objects, loaded from NIBs.
You can select that xib and open it as source code.
Or search tho whole project to find that.
For some reason whenever I add a text field to my project and try type in it, the app crashes.
The errors I get are:
Can't find keyplane that supports type 4 for keyboard iPhone-PortraitChoco-NumberPad; using 1336863583_PortraitChoco_iPhone-Simple-Pad_Default
-[NSNull length]: unrecognized selector sent to instance 0x1018b1d80
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull length]: unrecognized selector sent to instance 0x1018b1d80'
This happens in both the simulator and on device. I have unchecked "Connect Hardware Keyboard" in the simulator settings also.
Do I have to handle each and every input?
So I saw a solution deep in a forum, and it did actually solve the issue.
For some reason the tab bar controller I was using was causing the issue. Simply deleting the controller, and then going Editor > Embed In > Tab Bar Controller and re adding the views fixed it.
This is the error message I get when I try to deploy a react-native IOS app on my Iphone 5s:
Terminating app due to uncaught exception
'NSInvalidArgumentException', reason: '-[RCTRootContentView reactTag]:
unrecognized selector sent to instance
There are no errors when I build the app, it appears only When I install it (hit the run button).
Any idea how to fix it?
thanks
When I checked the main.jsbundle I realized that it was almost empty, it has just a warning. After creating it correctly the error I mentioned above disappeared.
I am trying to incorporate the Glympse Lite iOS SDK v1.0.12 into my app.
But I have a problem.
Trying to Dismiss "Sending.." screen causes the application to crash.
Tried to use solution from here https://stackoverflow.com/a/17889940/3805275 but still get the crash.
Try to do the same with the sample project GlympseHistoryLiteDemo and also get crash with the following output:
-[GLYConfiguratorViewerOwner onDismissPleaseWait:]: unrecognized selector sent to instance 0x15daa5c0
TICKET_CHANGED FIRED
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason:
'-[GLYConfiguratorViewerOwner onDismissPleaseWait:]: unrecognized selector sent to instance 0x15daa5c0'
*** First throw call stack:
(0x2e1d0f4b ...) libc++abi.dylib: terminating with uncaught exception of type NSException
Any ideas what might be causing this crash and possible solution ?
Btw, I was testing on iPod Touch with iOS 7.0.4.