ios6 - Iphone Application crashing when running in iphone 4 with os 6.1.3 -
devastating hear user possessing iphone 4 os version 6.1.3 unable run application downloaded app store i.e. crashing when launched.i have done rounds of testing before releasing application both on simulator iphone version 4,5 , ipad version 6.1.2 etc.wonder what's wrong when reputed team apple has reviewed application , approved not working on users iphone,embarrassing crashing on launch or start :|
i hear friends downloaded application version 4 working fine.it makes developer feel bad application working fine on devices , not on few others.
in quest of possibilities,i found few useful links here , there stating user can't come conclusion if application crashes,it filled bugs.a few methodologies avoid crashes while running iphone/ipad applications.
but happiness didn't resist longer have connected user's device mac , ran application on device,found same result crashing on start up.it throwing exception:
* terminating app due uncaught exception 'nsinvalidargumentexception', reason: ' -[nsplaceholderstring initwithstring:]: nil argument'*
i wonder possibility of exception when same application running fine in 4.3,5 , other versions 6.1.2! exception not providing me clear cut picture of statement or line causing crash.i reviewed code , place used initwithstring in home screen/view controller while building database i.e.
// documents directory nsarray *directorypaths = nssearchpathfordirectoriesindomains(nsdocumentdirectory, nsuserdomainmask, yes); nsstring *documentdirectory = [directorypaths objectatindex:0]; // build path database file self.databasepath = [[[nsstring alloc]initwithstring: [documentdirectory stringbyappendingpathcomponent:kdatabase]]autorelease];
if same block works fine without crashes,why crash occurs throwing exception on iphone 4 os 6.1.3 , please note application deployment target 4.3,but works on versions till date.
edit - crashed log
placed crash log in paste bin,here link
can 1 please me,pulling hair out this...
thanks in advance :)
Comments
Post a Comment