I have an empty block which runs fine in iPhone 6.0 simulator in Xcode, however when I switch to the iPhone 5.1 simulator I get the following exception: "EXC_BAD_ACCESS".
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
// I've removed all code from here and exception still occurs.
});
Any ideas what causes this? The exception is thrown at the dispatch_async line. Not sure if it matters, though I am using ARC.
Mistake on my part, I had the iOS Deployment Target set at 6.0. I've updated it to 5.1 now and it works fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With