0

I have code that works great in iOS 8, built using Xcode 6. It looks a little something like this:

PFQuery *query = [PFQuery queryWithClassName:@"SomeClass"];
query.cachePolicy = kPFCachePolicyNetworkElseCache;
[query orderByAscending:@"orderByField"];
[query findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error) {
    if (!error) {
        NSLog(@"Success!");
    } else {
        NSLog(@"Error: %@ %@", error, [error userInfo]);
    }
}];

When I upgrade my project to iOS 9 and try to run it from Xcode 7 Beta 5 using the Simulator, "findObjectsInBackgroundWithBlock" doesn't ever return. I get no success, no error. Nothing.

Any ideas?

Thanks!

Josh Knowles
  • 395
  • 4
  • 19
  • Are you doing a breakpoint on NSError? Since last night my queries stopped return. Parse domain code 100. – cdub Aug 24 '15 at 00:16
  • Have you made sure you can run http/https websites? – soulshined Aug 24 '15 at 22:10
  • I think it may occur because of Application Transport Security, you can read about it here: http://iosdevtips.co/post/121756573323/ios-9-xcode-7-http-connect-server-error – egor.zhdan Aug 25 '15 at 22:01

0 Answers0