App that I am currently developing is running perfectly on simulator, but since Xcode upgrade to 5.1 I have problem running app on devices. If I run app on any non 64 bit device on any iOS it runs fine, but if I run it on 64bit device (iPhone 5s, iPad Air), on iOS 7.0.x app crashes with 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 I run the app on 64bit device with iOS 7.1, it runs fine. I believe that issue is with my Target->Architectures where it is setup "Base SDK - Latest iOS (iOS 7.1)", but I cannot change that to any earler version. And my iOS Deployment Target is setup to iOS 6.0. Does anybody know any solution for this? I don't want to publish it and come into situation where person has iOS 7.0.3 and app crashes on his phone.