objective c - EXC_BAD_ACCESS, code 1, iOS 7.0.x 64bit devices -
app developing running on simulator, since xcode upgrade 5.1 have problem running app on devices. if run app on non 64 bit device on ios runs fine, if run on 64bit device (iphone 5s, ipad air), on ios 7.0.x app crashes error:
thread 1: exc_bad_access (code=1, address=0x50111f87261d1146) line 16 main.m @autoreleasepool { return uiapplicationmain(argc, argv, nsstringfromclass([mobileuiapplication class]), nsstringfromclass([appdelegate class])); } if run app on 64bit device ios 7.1, runs fine. believe issue target->architectures setup "base sdk - latest ios (ios 7.1)", cannot change earler version. , ios deployment target setup ios 6.0. know solution this? don't want publish , come situation person has ios 7.0.3 , app crashes on phone.
i had similar problem. when updated xcode there warning "validate project setting". when did that, there checkbox automatically select "architectures". , problem lay.
to fix change "architectures" , "valid architectures" in build settings project , target "armv7 armv7s" (right have selected standard architectures) , set "build active architectures only" no.
Comments
Post a Comment