Discussion Forums  >  Crashes, Memory Warnings

Replies: 3    Views: 64

Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
10/10/12 10:53 AM (11 years ago)

unrecognized selector error crashing app

I am working on running a new build of a 1.5 app. With Xcode 4.5 I know this is no longer supported, but I am trying to make a usable workaround for this case. I of course did not have rotation, so I made a 2.0 app and then copy the BT_Layout and appdelegate files and replaced the files in my 1.5 app. (I had to change the names to match) Now when I try to run the app (sim or device) the app never fully loads and crashes with this error- 2012-10-10 12:31:39.874 mtisales[11278:1df03] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[BT_application isChildApp]: unrecognized selector sent to instance 0xa7ad1a0' any ideas? I know I will have to rebuild this app at some point in 2.0, but I need to get this deployed to 3 iPads as soon as possible, so I was hoping for a workaround? (I did try building for several different deployment targets with no luck) Thanks, Jim
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
10/10/12 07:45 PM (11 years ago)
Yeah this is going to be particularly hard to pinpoint. Hmmm try searching for @selector(isChildApp:) with the search function in Xcode and see if you get any results. If not, or yes, please reply back on this thread :)
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
10/10/12 08:09 PM (11 years ago)
I did not find it with @selector I did find [parentApp setIsChildApp:FALSE]; in the BT_viewControllerManager.m file
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
10/10/12 08:14 PM (11 years ago)
I changed it to TRUE, just to try it and it did not make any difference.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.