Discussion Forums  >  Crashes, Memory Warnings

Replies: 23    Views: 162

mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
11/19/12 12:55 PM (11 years ago)

Does any one have an iPad 1???

Per a recent discussion thread (below) it seems a few of us are having problems with newly updated apps running on iPad 1's. Apple stopped supporting these devices so they can only update to iOS 5.1.1 but my target is always set to 4.3. If anyone out there has an iPad 1 would you be able to test your apps on that device, using latest Xcode, and see 1) if it crashes and, if it does, 2) what you see in the Xcode console so I can figure this out? THanks!! Josh https://www.buzztouch.com/forum/thread.php?tid=60627E47FD5E4C28AA9EB9B&command=isSearching&currentPage=1&topicTitle=ipad&createdBy=&repliedBy=&minViews=-1&maxViews=-1&minReplies=-1&maxReplies=-1&forumCategory=
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
11/19/12 01:12 PM (11 years ago)
You aren't by any chance using the adsupport.framework in your apps are you? If you are and it is set to "required", it will cause your apps to crash on any device that isn't running iOS 6 (such as an iPad 1). I had this issue and changing the framework setting to "optional" fixed it.
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
11/19/12 01:16 PM (11 years ago)
Nope. The only new framework I added this update was socialize but their website says they are compatible with iOS 4.0 so shouldn't be an issue.
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
11/19/12 01:20 PM (11 years ago)
I have 1st generation ipad Mutzy and just re-installed it and it is crashing<ERres>....:( bummer ...I am here if you need a tester just pm me. Sheri
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
11/19/12 01:21 PM (11 years ago)
Sheri, Can you try running one of your apps on the 1st gen iPad to see if it crashes? And maybe see in the dev console why???
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
11/19/12 01:28 PM (11 years ago)
Same happened to my iPad 1 as Sheri
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
11/19/12 01:35 PM (11 years ago)
Well I guess I'm the odd one here - I just tested a 2.0 app on an iPad 1 and it works perfectly. The app includes the Socialize, Chartboost, and RevMob SDKs as well as the IAP and design menu plugins @ Mutzy - for socialize, are you just using the basic action bar functionality or are you using SmartAlerts as well. Aside from socialize, are you using any other SDKs?
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
11/19/12 01:36 PM (11 years ago)
All my apps are running fine....ER TRANSLATE (1.5) is being overhauled because I didn't refresh the binary with control panel....amongst other stuff...Skull Quiz(1.5) Just noticed a communication between server...but fixing...CNA Ready (2.0) is running now issues:( But then again the arch is armv6, armv7...know it doesn't make sense. Well....you got a team of supporters Mutzy. Besides your app is really needed out there!.....Is it working on other iPad's or just have issues with 1st generation? Sheri
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
11/19/12 01:44 PM (11 years ago)
also, you might want to scan over this page really quick and make sure you aren't using any other 6.0 frameworks - http://developer.apple.com/library/ios/#documentation/Miscellaneous/Conceptual/iPhoneOSTechOverview/iPhoneOSFrameworks/iPhoneOSFrameworks.html
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
11/19/12 01:49 PM (11 years ago)
Sheri, There has only been a problem with 1st gen iPads. Absentia... heading into work now but I'll check my frameworks when I get home. Out of curiosity, did you include armv6 in your apps?
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
11/19/12 02:09 PM (11 years ago)
no, I didn't - never messed with it. My architecture just says "Standard (armv7, armv7s) - ($_ARCHS_STANDARD_32_BIT)
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
11/19/12 02:24 PM (11 years ago)
@mutzy all the other apps of yours are working fine on generation 1 ipad. @Absentia.....hmmm now I really curious on the results of this.. Keep us posted! Sheri
 
baywebnz
Aspiring developer
Profile
Posts: 92
Reg: Oct 25, 2010
location unknow...
920
like
11/19/12 05:56 PM (11 years ago)
Hi can anyone test my app on an iPad 1? I have had a few similar reports - although not sure what device iOS version they relate to yet (trying to gain more info.) https://itunes.apple.com/us/app/snow-forecast-white-christmas/id478366416?mt=8 Promo Codes: RXM7KHMXLXRF 7NALLAJLRW3N XKM4WLNTXEHF Cheers.
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
11/19/12 07:20 PM (11 years ago)
Sheri- I haven't updated my other apps in awhile. The last update for ERres, before this most recent one, was back in Sept and that worked fine on first gen iPads. Absentia- I haven't messed with smart alerts, just a customized action bar. The only differences in this version is socialize, the appirater files, and a new custom menu button screen I made using xib files. Here are the frameworks I have: cfnetwork- required coreaudio- required corelocation- required foundation- required systemconfiguration- required Uikit- optional mobilecoreservices- required avfoundation- required messageui- optional mapkit- optional mediaplayer- optional coregraphics- required quartzcore- required iAD- optional socialize- required I am in the process of downloading the 4.3 simulator for xcode now but its taking FOREVER. hopefully that will lend some insight. otherwise i may need to find someone in philly with an ipad 1. to be continued...
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
11/19/12 08:02 PM (11 years ago)
Okay, definitely looks like something I did. It took about an hour to download the 4.3 simulator for Xcode. The iPhone 4.3 loads/runs fine. The iPad 4.3 though crashes on startup. It seems to be related to my custom Xib_home custom plugin which is my home screen. Here's the console output: 2012-11-19 21:57:32.816 erres2[1527:14703] BT_viewControllerManager: initViewControllerForScreen nickname: "XIB Home" itemId: E627D3CFB7BBDB082EFD6F3 type: Xib_home 2012-11-19 21:57:32.817 erres2[1527:14703] Xib_home: INIT 2012-11-19 21:57:32.829 erres2[1527:14703] *** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named NSLayoutConstraint' *** Call stack at first throw: ( 0 CoreFoundation 0x01cbb5a9 __exceptionPreprocess + 185 1 libobjc.A.dylib 0x01a68313 objc_exception_throw + 44 2 CoreFoundation 0x01c73ef8 +[NSException raise:format:arguments:] + 136 3 CoreFoundation 0x01c73e6a +[NSException raise:format:] + 58 4 UIKit 0x00c2d112 UINibDecoderDecodeObjectForValue + 309 5 UIKit 0x00c2d2f5 UINibDecoderDecodeObjectForValue + 792 6 UIKit 0x00c2e6ac -[UINibDecoder decodeObjectForKey:] + 398 7 UIKit 0x00b42c98 -[UINib instantiateWithOwner:options:] + 902 8 UIKit 0x00b44ab7 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 168 9 UIKit 0x009fa628 -[UIViewController _loadViewFromNibNamed:bundle:] + 70 10 UIKit 0x009f8134 -[UIViewController loadView] + 120 11 UIKit 0x009f800e -[UIViewController view] + 56 12 erres2 0x00027539 -[BT_application buildInterface] + 1305 13 erres2 0x00006aa8 -[erres2_appDelegate configureEnvironmentUsingAppData:] + 1544 14 erres2 0x000062fc -[erres2_appDelegate loadAppData] + 2108 15 erres2 0x00005972 -[erres2_appDelegate application:didFinishLaunchingWithOptions:] + 1634 16 UIKit 0x00948c89 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1163 17 UIKit 0x0094ad88 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 439 18 UIKit 0x00955617 -[UIApplication handleEvent:withNewEvent:] + 1533 19 UIKit 0x0094dabf -[UIApplication sendEvent:] + 71 20 UIKit 0x00952f2e _UIApplicationHandleEvent + 7576 21 GraphicsServices 0x02463992 PurpleEventCallback + 1550 22 CoreFoundation 0x01c9c944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52 23 CoreFoundation 0x01bfccf7 __CFRunLoopDoSource1 + 215 24 CoreFoundation 0x01bf9f83 __CFRunLoopRun + 979 25 CoreFoundation 0x01bf9840 CFRunLoopRunSpecific + 208 26 CoreFoundation 0x01bf9761 CFRunLoopRunInMode + 97 27 UIKit 0x0094a7d2 -[UIApplication _run] + 623 28 UIKit 0x00956c93 UIApplicationMain + 1160 29 erres2 0x0004ae86 main + 134 30 erres2 0x00002dd5 start + 53 ) terminate called throwing an exception(lldb) Does this make sense to anyone???
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
11/19/12 08:03 PM (11 years ago)
If it helps I have two xib files... xib_home.xib and xib_home~ipad.xib. Is the ~ipad convention now allowed in iOS 4.3? Strange that it works fine on iPhone but not iPad. Frustrating!
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
11/19/12 09:36 PM (11 years ago)
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
11/20/12 02:22 AM (11 years ago)
does it have the correct ownership etc etc?
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
11/20/12 06:08 AM (11 years ago)
Absentia- you're a genius! For some reason the regular iPhone xib did not have that checked but the iPad xib did have autolayout checked. There was also an option right next to that asking me what the target iOS was for both xib files and it was set to iOS 6.0. I changed it to 4.3. It gave me a slew of warnings which should be easy to fix but it now runs in the 4.3 iPad simulator! WOOHOOOOO I honestly didn't think I was going to get to the bottom of this one. I've even posted on two different apple developer forums and no one had a clue. You guys/gals rock! Thanks so much, Josh
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
11/20/12 09:24 PM (11 years ago)
Awesome! Hey, if typing "NSInvalidUnarchiveOperationException" into google makes me a genius then I will gladly take the compliment :P BTW @ baywbnz I took one of those promo codes and tested the app on an iPad 1 - it worked perfectly, so it's apparently not a 5.1 issue. Cool app though! (no pun intended)
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
11/28/12 01:05 PM (11 years ago)
Okay, think this is fixed. The update was approved today and is "processing for app store". Sheri, can you please check to see if this works now on your iPad 1??? Thanks!! Josh
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
11/28/12 02:26 PM (11 years ago)
good stuff!! im able to use it now on my iPAD 1 using 5.1.1 glad you solved it!
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
11/29/12 03:32 PM (11 years ago)
works great! YEA!
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
11/29/12 03:39 PM (11 years ago)
works great! YEA!
 

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.