Skip to content

32 vs. 64 bit issue on findObjectsInBackgroundWithBlock #1067

@alexvenom

Description

@alexvenom

The following code works pretty well on 64bit devices (iPhone 5S, iPhone 6, iPhone 6S), but will return empty when running on a 32bit device (iPhone4, iPhone 4S, iPhone 5). Same iOS version on all devices. Repeatable in simulator and devices, also in iPads:

`- (IBAction)TestA:(id)sender {
PFQuery *myQuery = [PFQuery queryWithClassName:@"testClass"];

[myQuery whereKey:@"testKey" equalTo:[PFObject objectWithoutDataWithClassName:@"testClass" objectId:@"objectIDHere"]];

[myQuery findObjectsInBackgroundWithBlock:^(NSArray * _Nullable objects, NSError * _Nullable error) {
    NSLog(@"Result: %@", objects);
}];

} `

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions