Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application is crashing when running with instruments

Hi Everyone , My application is running fine in iPad. but when i am running app using instruments time profiler, its getting crash .

What may be the reason?

I saw some help like

App crashes on certain actions when using instruments, how to find reason?

But didn't get much help .

like image 621
akrant_iOSDeveloper Avatar asked Mar 08 '12 09:03

akrant_iOSDeveloper


1 Answers

Im sure there can be other causes but I had this one myself.

What happened was I updated one of my framework path locations but I didn't update my build settings.

What this meant was my code was compiling and working when I would 'run it normally' but when I ran in instruments it just crashed.

The problem is, the app should have been crashing when I ran it normally. When I cleaned my project, the app stopped working and showed me the error message I needed (my framework wasn't installed correctly).

So to anyone who encounters this its worth cleaning your project and then running it. It may crash and give you the problem at hand so you can fix it.

like image 105
Aggressor Avatar answered Oct 23 '22 13:10

Aggressor